Wing 323 - Gamepad Version
V1.0
|
Creates and manages a enemy room. An enemy room contains a pre-defined number of enemy's, where the goal is to kill all the enemy's to receive the prize (the keycard required to open the exit door will be spawned once all the enemies in the room have been killed). More...
Public Member Functions | |
void | Start () |
Initialises the attributes for the enemy room. | |
void | Update () |
The enemy room update loop checks to see if the player has opened the entrance door, and if so spawns the enemies. Once all the enemies have been killed, the room is set as completed (and serves as the players new check point). | |
void | checkAllEnemiesDead () |
Check to see if all the enemies have been killed in the room. | |
void | spawnEnemies (int _numOfEnemies) |
Spawn enemies in the room (based on a pre-defined enemy spawn point). |
Creates and manages a enemy room. An enemy room contains a pre-defined number of enemy's, where the goal is to kill all the enemy's to receive the prize (the keycard required to open the exit door will be spawned once all the enemies in the room have been killed).
void EnemyRoom::spawnEnemies | ( | int | _numOfEnemies | ) | [inline] |
Spawn enemies in the room (based on a pre-defined enemy spawn point).
[in] | _numOfEnemies | The number of enemies to spawn in the room. |