#include <Room.h>
Inherits MapSite.

Public Member Functions | |
| Room (int roomNo) | |
| virtual | ~Room () |
| class MapSite * | GetSide (Direction) const |
| int | GetRoomNo () const |
| void | SetSide (Direction, class MapSite *) |
| virtual void | Enter () |
| virtual void | Print (int indent=0) |
Private Attributes | |
| class ObjectArray * | _sides |
| int | _roomNumber |
Definition at line 13 of file Room.h.
| Room::Room | ( | int | roomNo | ) |
| int Room::GetRoomNo | ( | ) | const |
Definition at line 21 of file Room.cpp.
References _roomNumber.
Referenced by Maze::AddRoom(), and Door::Print().

Definition at line 17 of file Room.cpp.
References _sides, and ObjectArray::GetAt().

| void Room::Print | ( | int | indent = 0 |
) | [virtual] |
Reimplemented from MapSite.
Definition at line 33 of file Room.cpp.
References _roomNumber, _sides, ObjectArray::Print(), and PrintIndent().

Definition at line 25 of file Room.cpp.
References _sides, and ObjectArray::PutAt().
Referenced by StandardMazeBuilder::BuildDoor(), and StandardMazeBuilder::BuildRoom().


int Room::_roomNumber [private] |
class ObjectArray* Room::_sides [private] |