From 9638fd70fe29c0ad21bc1e578316ddfb0f137645 Mon Sep 17 00:00:00 2001 From: fdai2751 Date: Wed, 7 Feb 2024 16:43:17 +0100 Subject: [PATCH] added the Gameover function --- src/main/java/pacmanGame/GameManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index 7998a74..0fc1d39 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -36,10 +36,10 @@ public class GameManager { } } - /* public void gameOver() { + public void gameOver() { // todo } - */ + public void Update() { if(!isPaused) { visualizer.Update();