From af1ac18f86f9bdecca993eca355456f5991d3a0b Mon Sep 17 00:00:00 2001 From: fdai2751 Date: Thu, 8 Feb 2024 20:40:36 +0100 Subject: [PATCH] added the implement restart Game after gameOver --- src/main/java/pacmanGame/GameManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index 8f79e6e..63e51a0 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -51,6 +51,7 @@ public class GameManager { public void gameOver() { System.out.println("Das Spiel ist vorbei! Pech!!"); + setupGame(); } public void Update() {