Wing 323 - Gamepad Version  V1.0
Protected Member Functions | Protected Attributes
Room Class Reference

Acts as the base classes to different room types. A room consists of a entrance and exit door. Based on the type of room, once once a certain goal has been met the keycard required to open the room's exit door will be spawned in the room. More...

Inheritance diagram for Room:
EnemyRoom PuzzleRoom

List of all members.

Protected Member Functions

void spawnKeyCard ()
 Spawn a keycard at the room's pre-defined keycard spawn point.
void setLastRoomCompleted (Vector3 _lastRoomCompleted)
 Once the room is completed it is set as the last room completed. The last room completed acts as the player's last checkpoint.

Protected Attributes

string m_roomType
Door m_entrance
Door m_exit
GameObject m_keyCard

Detailed Description

Acts as the base classes to different room types. A room consists of a entrance and exit door. Based on the type of room, once once a certain goal has been met the keycard required to open the room's exit door will be spawned in the room.

Author:
Alexander Poolton
Version:
3.0
Date:
2/7/2011

Member Function Documentation

void Room::setLastRoomCompleted ( Vector3  _lastRoomCompleted) [inline, protected]

Once the room is completed it is set as the last room completed. The last room completed acts as the player's last checkpoint.

Parameters:
[in]_lastRoomCompletedThe position of the last room to be completed.

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