public Map(int mapMaxHeight, int mapMaxWidth, bool randomGeneration) { mapGenerator = new MapGenerator(mapMaxHeight, mapMaxWidth, randomGeneration); mapDrawer = new MapDrawer(mapGenerator.Board); gameBoard = mapGenerator.Board; }
public Map(bool randomGeneration) { mapGenerator = new MapGenerator(randomGeneration); mapDrawer = new MapDrawer(mapGenerator.Board); gameBoard = mapGenerator.Board; }