CountingMazeBuilder Class Reference

#include <Builder.h>

Inherits MazeBuilder.

Collaboration diagram for CountingMazeBuilder:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CountingMazeBuilder ()
virtual void BuildMaze ()
virtual void BuildRoom (int)
virtual void BuildDoor (int, int)
virtual void AddWall (int, Direction)
void GetCounts (int &, int &) const

Private Attributes

int _doors
int _rooms


Detailed Description

Definition at line 46 of file Builder.h.


Constructor & Destructor Documentation

CountingMazeBuilder::CountingMazeBuilder (  ) 

Definition at line 57 of file Builder.cpp.

References _doors, and _rooms.


Member Function Documentation

void CountingMazeBuilder::AddWall ( int  ,
Direction   
) [virtual]

Definition at line 84 of file Builder.cpp.

void CountingMazeBuilder::BuildDoor ( int  ,
int   
) [virtual]

Reimplemented from MazeBuilder.

Definition at line 67 of file Builder.cpp.

References _doors.

void CountingMazeBuilder::BuildMaze (  )  [virtual]

Reimplemented from MazeBuilder.

Definition at line 79 of file Builder.cpp.

void CountingMazeBuilder::BuildRoom ( int   )  [virtual]

Reimplemented from MazeBuilder.

Definition at line 62 of file Builder.cpp.

References _rooms.

void CountingMazeBuilder::GetCounts ( int &  rooms,
int &  doors 
) const

Definition at line 72 of file Builder.cpp.

References _doors, and _rooms.

Referenced by create_counting_maze().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 59 of file Builder.h.

Referenced by BuildDoor(), CountingMazeBuilder(), and GetCounts().

Definition at line 60 of file Builder.h.

Referenced by BuildRoom(), CountingMazeBuilder(), and GetCounts().


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