Exemplo n.º 1
0
 public void LoadMap(string mapName)
 {
     currentMap = new GameMap(masterGame, mapName);
     if (currentMap.IsPaused())
     {
         currentMap.TogglePause();
     }
     gameGUI = new GameGUIManager(this, masterGame, content, currentMap.GetMapHeight() * GameTile.TILE_DIMENSIONS, currentMap.GetMapWidth() * GameTile.TILE_DIMENSIONS);
     waveManager = new WaveManager(this, masterGame, content);
 }