Browse Source

refactoring changed spelling in generateMap method in Map

remotes/origin/playerRefactoring
fdai7910 11 months ago
parent
commit
ffa4d5e818
  1. 4
      src/main/java/pacmanGame/Map.java

4
src/main/java/pacmanGame/Map.java

@ -73,10 +73,10 @@ public class Map {
public Map(String[] mapData, GameManager gameManager) { public Map(String[] mapData, GameManager gameManager) {
this.gameManager = gameManager; this.gameManager = gameManager;
GenerateMap(mapData);
generateMap(mapData);
} }
public void GenerateMap(String[] mapData) {
public void generateMap(String[] mapData) {
int sizeY = mapData.length; int sizeY = mapData.length;
int sizeX = mapData[0].length(); int sizeX = mapData[0].length();

Loading…
Cancel
Save