This commit is contained in:
yugecin 2017-01-11 23:02:17 +01:00
parent e9120652a1
commit 4ba32c44f2
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class EmptyRedState implements OpsuState {
public void update(int delta) {
counter -= delta;
if (counter < 0) {
counter = 10000; // to prevent more calls to switch, as this will keep rendingering untill state transitioned
counter = 10000; // to prevent more calls to switch, as this will keep rendering until state transitioned
System.out.println(System.currentTimeMillis() - start);
displayContainer.switchState(EmptyState.class);
}

View File

@ -38,7 +38,7 @@ public class EmptyState implements OpsuState {
public void update(int delta) {
counter -= delta;
if (counter < 0) {
counter = 10000; // to prevent more calls to switch, as this will keep rendingering untill state transitioned
counter = 10000; // to prevent more calls to switch, as this will keep rending until state transitioned
displayContainer.switchState(EmptyRedState.class);
}
}