libcoyotl::maze::architect Class Reference
Pluggable object to randomize a
maze.
More...
#include <maze.h>
List of all members.
Public Member Functions
Static Protected Member Functions
Detailed Description
Since several different algorithms can carve mazes with different characteristics,
architect implements a polymorphic class, thus divorcing the carving algorithm from the data it generates. The abstract architect class is tightly bound to the
maze data structures, and I defined it within the scope of
maze, as a friend; it implements protected static methods that access the internal data of a
maze.
Member Function Documentation
virtual void libcoyotl::maze::architect::create_floor_plan |
( |
maze & |
a_target |
) |
[pure virtual] |
static cell** libcoyotl::maze::architect::get_cells |
( |
maze & |
a_target |
) |
[inline, static, protected] |
Retrieves the two-dimensional maze containing the cells for a maze. This function provides direct read-write access to the cell data.
- Parameters:
-
| a_target | - The target maze |
- Returns:
- A two-dimensional pointer to the cell grid
References libcoyotl::maze::m_cells.
The documentation for this class was generated from the following file: