Browse Source

added score

remotes/origin/menu
fdai7910 11 months ago
parent
commit
9c01f0b368
  1. 3
      src/main/java/pacmanGame/GameManager.java

3
src/main/java/pacmanGame/GameManager.java

@ -6,6 +6,7 @@ public class GameManager {
public Map map; public Map map;
public Visualizer visualizer; public Visualizer visualizer;
public Player player; public Player player;
public int score = 0;
public GameManager() { public GameManager() {
setupGame(); setupGame();
@ -64,4 +65,6 @@ public class GameManager {
} }
return false; return false;
} }
} }
Loading…
Cancel
Save