From 15b9bd80cb343273419e9ab5df32d3804857d99c Mon Sep 17 00:00:00 2001 From: fdai7910 Date: Sun, 4 Feb 2024 18:50:44 +0100 Subject: [PATCH] added visuals for score in VisualizerPlaintText --- src/main/java/pacmanGame/VisualizerPlainText.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/pacmanGame/VisualizerPlainText.java b/src/main/java/pacmanGame/VisualizerPlainText.java index 95e3413..37f7768 100644 --- a/src/main/java/pacmanGame/VisualizerPlainText.java +++ b/src/main/java/pacmanGame/VisualizerPlainText.java @@ -28,7 +28,7 @@ public class VisualizerPlainText implements Visualizer { @Override public void Update() { - output = ""; + output = "Score: " + gameManager.score + "\n"; Map map = gameManager.map; for(int y = 0; y < map.size.y; y++) {