|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
maze.structure.MazeCell
maze.structure.MazeCellEmpty
A Cell which is empty, and unused. This is the default Cell used to fill an empty Maze.
| Field Summary |
| Fields inherited from class maze.structure.MazeCell |
BLACK, BLANK, RED, special, theColor, theLocation |
| Constructor Summary | |
MazeCellEmpty()
|
|
| Method Summary | |
void |
drawFloor(java.awt.Graphics g)
Draws the floor of an empty cell. |
void |
drawWall(java.awt.Graphics g)
Draws the walls of an empty cell. |
java.lang.String |
toString()
Returns a String description of this cell. |
boolean |
used()
Returns true if this cell is used. |
| Methods inherited from class maze.structure.MazeCell |
getColor, setColor, setCoord, setGeoCoord, setGeometry, special |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MazeCellEmpty()
| Method Detail |
public void drawFloor(java.awt.Graphics g)
drawFloor in class MazeCellg - Graphics context.public void drawWall(java.awt.Graphics g)
drawWall in class MazeCellg - Graphics context.public boolean used()
used in class MazeCellpublic java.lang.String toString()
toString in class MazeCell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||