From 9c01f0b368e87b2d4ea371515e1846bad7e035c7 Mon Sep 17 00:00:00 2001 From: fdai7910 Date: Sat, 3 Feb 2024 19:46:15 +0100 Subject: [PATCH] added score --- src/main/java/pacmanGame/GameManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index 8a154d5..d269424 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -6,6 +6,7 @@ public class GameManager { public Map map; public Visualizer visualizer; public Player player; + public int score = 0; public GameManager() { setupGame(); @@ -64,4 +65,6 @@ public class GameManager { } return false; } + + }