Maze Class Reference

#include <Maze.h>

Inherits Object.

Collaboration diagram for Maze:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Maze ()
virtual ~Maze ()
void AddRoom (class Room *)
class RoomRoomNo (int) const
virtual void Print (int indent=0)

Private Attributes

class ObjectArrayRooms


Detailed Description

Definition at line 12 of file Maze.h.


Constructor & Destructor Documentation

Maze::Maze (  ) 

Definition at line 7 of file Maze.cpp.

References Rooms.

Maze::~Maze (  )  [virtual]

Definition at line 12 of file Maze.cpp.

References Rooms.


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void Maze::Print ( int  indent = 0  )  [virtual]

Reimplemented from Object.

Definition at line 27 of file Maze.cpp.

References ObjectArray::Print(), PrintIndent(), and Rooms.

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

class ObjectArray* Maze::Rooms [private]

Definition at line 24 of file Maze.h.

Referenced by AddRoom(), Maze(), Print(), RoomNo(), and ~Maze().


The documentation for this class was generated from the following files:

Generated on Sat Mar 21 17:10:26 2009 for Builder Design Pattern by  doxygen 1.5.8