render mirrored

This commit is contained in:
yugecin
2016-09-29 21:40:42 +02:00
parent 72aa856818
commit 9a73ab23e9
6 changed files with 61 additions and 15 deletions

View File

@@ -43,7 +43,7 @@ public abstract class GameObject {
* @param g the graphics context
* @param trackPosition the current track position
*/
public abstract void draw(Graphics g, int trackPosition);
public abstract void draw(Graphics g, int trackPosition, boolean mirrored);
/**
* Updates the hit object.