예제 #1
0
 public void loadRoom()
 {
     walls.loadWalls();
     roomObjects.AddAllToAutoDraw();
     if (numEnemies == 0)
     {
         openAllDoors();
     }
 }
예제 #2
0
 public void loadRoom(Hero hero, int levelNum)
 {
     walls.loadWalls();
     roomObjects.AddAllToAutoDraw();
     if (hasStairs == 1 && !stairs.available)
     {
         stairs.RemoveFromAutoDrawSet();
     }
     if (numEnemies == 0 && !isAlive)
     {
         openAllDoors();
     }
     walls.updateStatus(hero, levelNum);
 }
 public void loadRoom()
 {
     walls.loadWalls();
     roomObjects.AddAllToAutoDraw();
 }