From ffa4d5e8182caeb2c6f5041eee6941a6000cc7aa Mon Sep 17 00:00:00 2001 From: fdai7910 Date: Thu, 8 Feb 2024 02:16:01 +0100 Subject: [PATCH] refactoring changed spelling in generateMap method in Map --- src/main/java/pacmanGame/Map.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/pacmanGame/Map.java b/src/main/java/pacmanGame/Map.java index 075b30b..31223d7 100644 --- a/src/main/java/pacmanGame/Map.java +++ b/src/main/java/pacmanGame/Map.java @@ -73,10 +73,10 @@ public class Map { public Map(String[] mapData, GameManager gameManager) { this.gameManager = gameManager; - GenerateMap(mapData); + generateMap(mapData); } - public void GenerateMap(String[] mapData) { + public void generateMap(String[] mapData) { int sizeY = mapData.length; int sizeX = mapData[0].length();