@ -8,18 +8,21 @@ public class GameManager {
public Player player;
public GameManager() {
map = new Map();
setupGame();
}
public void setupGame(){
visualizer = new VisualizerPlainText(this);
player = new Player(this);
ghosts = new Ghost[4];
for(int i = 0; i < ghosts.length; i++) {
ghosts[i] = new Ghost(this);
public void Update() {
visualizer.Update();
time++;