|
@ -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(); |
|
|