From a126e760a5ffa29ac2ff8e99b4a90e46fec53314 Mon Sep 17 00:00:00 2001 From: fdai7012 Date: Thu, 8 Feb 2024 00:04:00 +0100 Subject: [PATCH] refactoring: removed initialization of gameManager in vptu --- src/main/java/pacmanGame/VisualizerPlainTextUltra.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/pacmanGame/VisualizerPlainTextUltra.java b/src/main/java/pacmanGame/VisualizerPlainTextUltra.java index b28f00d..5ad17d4 100644 --- a/src/main/java/pacmanGame/VisualizerPlainTextUltra.java +++ b/src/main/java/pacmanGame/VisualizerPlainTextUltra.java @@ -10,7 +10,7 @@ public class VisualizerPlainTextUltra implements Visualizer { private String output; - public GameManager gameManager = new GameManager(); + public GameManager gameManager; public HashMap sprites = new HashMap(){{