|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmaze.geometry.PathEnd
The end of a path being generated.
| Field Summary | |
protected Coordinate |
theCoordinate
The Coordinate for the end of the path. |
protected int |
theDirection
The direction of the end of the path. |
| Constructor Summary | |
PathEnd(Coordinate c,
int d)
Creates a new PathEnd from a Coordinate and a direction. |
|
| Method Summary | |
Coordinate |
coord()
Returns the Coordinate for the end of the path. |
int |
dir()
Returns the current direction. |
java.lang.String |
toString()
Returns a String representation for the end of the path. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Coordinate theCoordinate
protected int theDirection
| Constructor Detail |
public PathEnd(Coordinate c,
int d)
c - Coordinate location of the cell at the end of
a path.d - int direction in which the path is being
generated.| Method Detail |
public int dir()
public Coordinate coord()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||