ReplayTest

Seems to work
but still buggy
lots of flickering during replay
This commit is contained in:
fd
2015-03-15 14:15:34 -04:00
parent f7c627e8a2
commit 60f2a9f142
5 changed files with 146 additions and 58 deletions

View File

@@ -191,11 +191,10 @@ public class Spinner implements HitObject {
}
@Override
public boolean mousePressed(int x, int y) { return false; } // not used
public boolean mousePressed(int x, int y, int trackPosition) { return false; } // not used
@Override
public boolean update(boolean overlap, int delta, int mouseX, int mouseY, boolean keyPressed) {
int trackPosition = MusicController.getPosition();
public boolean update(boolean overlap, int delta, int mouseX, int mouseY, boolean keyPressed, int trackPosition) {
// end of spinner
if (overlap || trackPosition > hitObject.getEndTime()) {