First bug free game?

This commit is contained in:
Remco
2015-05-28 09:30:17 +02:00
parent 2af16890d4
commit dc8f3c92e4
21 changed files with 575 additions and 167 deletions
+2 -2
View File
@@ -23,10 +23,10 @@ public class GameStateManager {
public void next() {
index++;
index %= gamestates.size();
currentState = gamestates.get(index);
}
public void update(){
currentState = gamestates.get(index);
public void update(){
currentState.update();
}
}