|
|
@ -7,6 +7,7 @@ public class GameManager { |
|
|
|
public Visualizer visualizer; |
|
|
|
public Player player; |
|
|
|
public int score = 0; |
|
|
|
public boolean isPaused; |
|
|
|
|
|
|
|
public GameManager() { |
|
|
|
setupGame(); |
|
|
@ -21,6 +22,8 @@ public class GameManager { |
|
|
|
for(int i = 0; i < ghosts.length; i++) { |
|
|
|
ghosts[i] = new Ghost(this); |
|
|
|
} |
|
|
|
isPaused = false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public void Update() { |
|
|
@ -59,4 +62,5 @@ public class GameManager { |
|
|
|
} |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
} |