#include <Maze.h>
Inherits Object.
Public Member Functions | |
Maze () | |
virtual | ~Maze () |
void | AddRoom (class Room *) |
class Room * | RoomNo (int) const |
virtual void | Print (int indent=0) |
Private Attributes | |
class ObjectArray * | Rooms |
Definition at line 12 of file Maze.h.
void Maze::AddRoom | ( | class Room * | room | ) |
Definition at line 17 of file Maze.cpp.
References Room::GetRoomNo(), ObjectArray::PutAt(), and Rooms.
Referenced by StandardMazeBuilder::BuildRoom().
void Maze::Print | ( | int | indent = 0 |
) | [virtual] |
Reimplemented from Object.
Definition at line 27 of file Maze.cpp.
References ObjectArray::Print(), PrintIndent(), and Rooms.
class Room * Maze::RoomNo | ( | int | roomNo | ) | const |
Definition at line 21 of file Maze.cpp.
References ObjectArray::GetAt(), and Rooms.
Referenced by StandardMazeBuilder::BuildDoor(), and StandardMazeBuilder::BuildRoom().
class ObjectArray* Maze::Rooms [private] |