Wing 323 - Gamepad Version
V1.0
|
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...
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 |
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.
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.
[in] | _lastRoomCompleted | The position of the last room to be completed. |