Draw hit objects on top of hit result animations.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han 2016-12-19 17:13:22 -05:00
parent e161d0180e
commit 1b99795abd

View File

@ -1401,6 +1401,9 @@ public class Game extends BasicGameState {
* @param trackPosition the track position * @param trackPosition the track position
*/ */
private void drawHitObjects(Graphics g, int trackPosition) { private void drawHitObjects(Graphics g, int trackPosition) {
// draw result objects
data.drawHitResults(trackPosition);
// include previous object in follow points // include previous object in follow points
int lastObjectIndex = -1; int lastObjectIndex = -1;
if (objectIndex > 0 && objectIndex < beatmap.objects.length && if (objectIndex > 0 && objectIndex < beatmap.objects.length &&
@ -1514,9 +1517,6 @@ public class Game extends BasicGameState {
g.popTransform(); g.popTransform();
} }
} }
// draw result objects
data.drawHitResults(trackPosition);
} }
/** /**