From a4bdc9073ea5201a4bd4d60f3f5c9cd0c77b4266 Mon Sep 17 00:00:00 2001 From: fdai2751 Date: Sun, 4 Feb 2024 18:17:32 +0100 Subject: [PATCH] added the Unpause fonction into gameManager --- src/main/java/pacmanGame/GameManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index af640fd..2b6e210 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -64,7 +64,9 @@ public class GameManager { } public void Pause() { isPaused = true; - + } + public void Unpause() { + isPaused = false; } }