libcoyotl - A Library of C++ Tools
Created by Scott Robert Ladd at
Coyote Gulch Productions.
libcoyotl::recursive_maze_architect Class Reference
Implements a recursive, back-tracking maze architect.
More...
#include <maze_recursive.h>
Inheritance diagram for libcoyotl::recursive_maze_architect:
List of all members.Public Member Functions
Detailed Description
A concrete implementation of a maze architect, using a recursive, back-tracking algorithm.
Constructor & Destructor Documentation
libcoyotl::recursive_maze_architect::recursive_maze_architect |
( |
prng & |
a_prng |
) |
[inline] |
|
|
Creates a new architect, initializing its random-number generator with the given seed. - Parameters:
-
| a_prng | - a random number generator |
|
Member Function Documentation
virtual void libcoyotl::recursive_maze_architect::create_floor_plan |
( |
libcoyotl::maze & |
a_target |
) |
[virtual] |
|
|
"Carves" a maze using a recursive backtracking algorithm - Parameters:
-
| a_target | - The maze that will be "architected". |
Implements libcoyotl::maze::architect. |
The documentation for this class was generated from the following file:
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.