public void loadRoom() { walls.loadWalls(); roomObjects.AddAllToAutoDraw(); if (numEnemies == 0) { openAllDoors(); } }
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(); }