|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmaze.structure.MazeFiller
maze.structure.MazeFillerRetry
maze.structure.MazeFillerKinked
A MazeFiller which retries and will turn.
| Field Summary |
| Fields inherited from class maze.structure.MazeFiller |
branch, theOpenEnds, theRNG |
| Constructor Summary | |
MazeFillerKinked()
Constructs a new MazeFillerKinked. |
|
MazeFillerKinked(PushPop p)
Constructs a new MazeFillerKinked with the given PushPop; either a Stack or a Queue. |
|
MazeFillerKinked(PushPop p,
double b)
Constructs a new MazeFillerKinked with the given PushPop (either a Stack or a Queue) and a given branching factor between 0.0 and 1.0. |
|
| Method Summary | |
protected void |
branch(Maze m,
Coordinate c,
int d)
Creates a branching (3-exit) Cell in a Maze. |
protected void |
straight(Maze m,
Coordinate c,
int d)
Creates a straight-through (2-exit) Cell in a Maze. |
| Methods inherited from class maze.structure.MazeFillerRetry |
finish, start |
| Methods inherited from class maze.structure.MazeFiller |
next |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MazeFillerKinked()
public MazeFillerKinked(PushPop p)
p - PushPop to use, either Stack or Queue.
public MazeFillerKinked(PushPop p,
double b)
p - PushPop to use, either Stack or Queue.b - double branching factor between 0.0 and 1.0.| Method Detail |
protected void straight(Maze m,
Coordinate c,
int d)
straight in class MazeFillerm - Maze in which the Cell is constructed.c - Coordinate for the Cell.d - int direction for the straight-through path.
protected void branch(Maze m,
Coordinate c,
int d)
branch in class MazeFillerm - Maze in which the Cell is constructed.c - Coordinate for the Cell.d - int direction for the straight-through path.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||