typos
This commit is contained in:
@@ -39,7 +39,7 @@ public class EmptyRedState implements OpsuState {
|
|||||||
public void update(int delta) {
|
public void update(int delta) {
|
||||||
counter -= delta;
|
counter -= delta;
|
||||||
if (counter < 0) {
|
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);
|
System.out.println(System.currentTimeMillis() - start);
|
||||||
displayContainer.switchState(EmptyState.class);
|
displayContainer.switchState(EmptyState.class);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ public class EmptyState implements OpsuState {
|
|||||||
public void update(int delta) {
|
public void update(int delta) {
|
||||||
counter -= delta;
|
counter -= delta;
|
||||||
if (counter < 0) {
|
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);
|
displayContainer.switchState(EmptyRedState.class);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user