示例#1
0
 public Map(int mapMaxHeight, int mapMaxWidth, bool randomGeneration)
 {
     mapGenerator = new MapGenerator(mapMaxHeight, mapMaxWidth, randomGeneration);
     mapDrawer    = new MapDrawer(mapGenerator.Board);
     gameBoard    = mapGenerator.Board;
 }
示例#2
0
 public Map(bool randomGeneration)
 {
     mapGenerator = new MapGenerator(randomGeneration);
     mapDrawer    = new MapDrawer(mapGenerator.Board);
     gameBoard    = mapGenerator.Board;
 }