|
@ -15,6 +15,7 @@ public class GameManager { |
|
|
map = new Map(); |
|
|
map = new Map(); |
|
|
visualizer = new VisualizerPlainText(this); |
|
|
visualizer = new VisualizerPlainText(this); |
|
|
player = new Player(this); |
|
|
player = new Player(this); |
|
|
|
|
|
player.Spawn(); |
|
|
ghosts = new Ghost[4]; |
|
|
ghosts = new Ghost[4]; |
|
|
for(int i = 0; i < ghosts.length; i++) { |
|
|
for(int i = 0; i < ghosts.length; i++) { |
|
|
ghosts[i] = new Ghost(this); |
|
|
ghosts[i] = new Ghost(this); |
|
|