Wing 323 - Gamepad Version  V1.0
Public Member Functions
EnemyRoom Class Reference

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...

Inheritance diagram for EnemyRoom:
Room

List of all members.

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).

Detailed Description

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).

Author:
Alexander Poolton
Version:
5.0
Date:
26/7/2011

Member Function Documentation

void EnemyRoom::spawnEnemies ( int  _numOfEnemies) [inline]

Spawn enemies in the room (based on a pre-defined enemy spawn point).

Parameters:
[in]_numOfEnemiesThe number of enemies to spawn in the room.

The documentation for this class was generated from the following file:
 All Classes Functions