#include <Builder.h>
Inherits MazeBuilder.

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 |
Definition at line 46 of file Builder.h.
| CountingMazeBuilder::CountingMazeBuilder | ( | ) |
| void CountingMazeBuilder::AddWall | ( | int | , | |
| Direction | ||||
| ) | [virtual] |
Definition at line 84 of file Builder.cpp.
| void CountingMazeBuilder::BuildDoor | ( | int | , | |
| int | ||||
| ) | [virtual] |
| void CountingMazeBuilder::BuildMaze | ( | ) | [virtual] |
| void CountingMazeBuilder::BuildRoom | ( | int | ) | [virtual] |
| 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().

int CountingMazeBuilder::_doors [private] |
Definition at line 59 of file Builder.h.
Referenced by BuildDoor(), CountingMazeBuilder(), and GetCounts().
int CountingMazeBuilder::_rooms [private] |
Definition at line 60 of file Builder.h.
Referenced by BuildRoom(), CountingMazeBuilder(), and GetCounts().