|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmaze.structure.MazeFiller
maze.structure.MazeFillerSimple
A simple MazeFiller with no retry on collision, no bending of straight paths.
| Field Summary |
| Fields inherited from class maze.structure.MazeFiller |
branch, theOpenEnds, theRNG |
| Constructor Summary | |
MazeFillerSimple()
Constructs a new MazeFillerSimple. |
|
MazeFillerSimple(PushPop p)
Constructs a new MazeFillerRetry with the given PushPop; either a Stack or a Queue. |
|
MazeFillerSimple(PushPop p,
double b)
Constructs a new MazeFillerRetry with the given PushPop (either a Stack or a Queue) and a given branching factor between 0.0 and 1.0. |
|
| Method Summary | |
void |
finish(Maze m)
Finishes the maze filling process. |
void |
start(Maze m)
Starts filling the maze with Cells. |
| Methods inherited from class maze.structure.MazeFiller |
branch, next, straight |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MazeFillerSimple()
public MazeFillerSimple(PushPop p)
p - PushPop to use, either Stack or Queue.
public MazeFillerSimple(PushPop p,
double b)
p - PushPop to use, either Stack or Queue.b - double branching factor between 0.0 and 1.0.| Method Detail |
public void start(Maze m)
start in class MazeFillerm - The Maze to fill.public void finish(Maze m)
finish in class MazeFillerm - The Maze to fill.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||