#include <Room.hpp>
Inheritance diagram for Room
Public Methods | |
Room ( void ) | |
Default constructor. | |
Room ( RoomNumberCref aRoomNumber ) | |
Default with RoomNumber. | |
Room ( RoomCref ) throw ( corelinux::Assertion ) | |
Copy constructor. | |
virtual | ~Room ( void ) |
Virtual destructor. | |
RoomRef | operator= ( RoomCref aRef ) throw ( corelinux::Assertion ) |
Assignment operator. | |
bool | operator== ( RoomCref aRef ) const |
Equality operator returns true if instances are the same. | |
RoomNumberCref | getRoomNumber ( void ) const |
Gets the room number. | |
MapSitePtr | getSide ( Direction ) const |
Retrieve the MapSite object given a direction. | |
void | setRoomNumber ( RoomNumberCref aRef ) |
Sets the room number. | |
void | setSide ( Direction, MapSitePtr ) |
Sets a object for the given direction side. | |
virtual void | enter ( void ) |
The one operation "enter", the meaning depends on the derivation, or what it is you are entering. |
It also contains a identifier for rooms in the maze RoomNumber. As rooms go, this one has four walls only.