A C D E F G I M P R S T W X Y Z

A

addMazeListener(MazeListener) - Method in class Maze
Add a MazeListener.
addMazeListener(MazeListener) - Method in interface MazeModel
Add a MazeListener.

C

Coordinate3D - class Coordinate3D.
A 3D co-ordinate.
Coordinate3D(Coordinate3D) - Constructor for class Coordinate3D
Create a new 3D co-ordinate from an existing one.
Coordinate3D(int, int, int) - Constructor for class Coordinate3D
Create a new 3D co-ordinate.
count(int) - Static method in class Maze
Count how many open walls there are in the cell value.
create() - Method in class Maze
Create a random maze.

D

directionString(byte) - Static method in class Maze
Get a String representation of the given direction.
display(Coordinate3D) - Method in class MazeTextDisplay
Display the maze on standard output.

E

equals(Object) - Method in class Coordinate3D
Test equality with another 3D co-ordinate.

F

fireChange() - Method in class Maze
Fire a change in the maze.
forward(Coordinate3D, byte) - Static method in class Maze
Move between cells in a maze.

G

getCurrent() - Method in class Maze
Get the current player co-ordinate.
getCurrent() - Method in interface MazeModel
Get the current player co-ordinate.
getFinish() - Method in class Maze
Get the maze finish cell location.
getFinish() - Method in interface MazeModel
Get the finish cell location.
getPreferredSize() - Method in class Maze2D
From Component.getPreferredSize.
getPreferredSize() - Method in class Maze3D
From Component.getPreferredSize.
getSize() - Method in class Maze
Get the size of this maze.
getSize() - Method in interface MazeModel
Get the size of the maze.
getZ() - Method in class Maze2D
Get the Z co-ordinate of the maze being displayed.
grid(Coordinate3D) - Method in class Maze
Get the given cell walls and status.
grid(Coordinate3D) - Method in interface MazeModel
Get the contents of a cell.
grid(int, int, int) - Method in class Maze
Get the given cell walls and status.
grid(int, int, int) - Method in interface MazeModel
Get the contents of a cell.

I

init() - Method in class MazeApplet
Initialize the Applet.
invert(byte) - Static method in class Maze
Return the opposite direction.
isFocusTraversable() - Method in class Maze3D
From Component, this component can get keyboard input.
isMarked(Coordinate3D) - Method in class Maze
Check if the given cell has an "I've been here" marker.
isMarked(Coordinate3D) - Method in interface MazeModel
Check if the given cell has an "I've been here" marker.
isOpen(Coordinate3D, byte) - Method in class Maze
Check and see if movement is possible.
isOpen(Coordinate3D, byte) - Method in interface MazeModel
Check and see if movement is possible.

M

main(String[]) - Static method in class MazeApp
 
MARK - Static variable in interface MazeModel
Bitmap value for an "I've been here" mark.
Maze - class Maze.
A maze.
Maze(Coordinate3D) - Constructor for class Maze
Contruct a new maze with the given dimensions.
Maze(int, int, int) - Constructor for class Maze
Contruct a new maze with the given dimensions.
Maze2D - class Maze2D.
Draw a 2D maze in an AWT Component.
Maze2D(MazeModel) - Constructor for class Maze2D
Create a 2D maze display with a cell size of 20 pixels.
Maze2D(MazeModel, int) - Constructor for class Maze2D
Create a 2D maze display.
Maze2D(MazeModel, int, int, int) - Constructor for class Maze2D
Create a 2D maze display.
Maze3D - class Maze3D.
Display a 3D maze using a 2D projection as an AWT component.
Maze3D(MazeModel) - Constructor for class Maze3D
Create a 3D maze display.
Maze3D(MazeModel, int, int) - Constructor for class Maze3D
Create a 3D maze display.
MazeApp - class MazeApp.
The Maze Application.
MazeApp() - Constructor for class MazeApp
 
MazeApplet - class MazeApplet.
The Maze Applet.
MazeApplet() - Constructor for class MazeApplet
 
mazeChanged(EventObject) - Method in class Maze2D
From interface MazeListener.
mazeChanged(EventObject) - Method in interface MazeListener
Called when the maze has changed.
MazeListener - interface MazeListener.
An interface to listen when a Maze changes.
MazeModel - interface MazeModel.
The model for a maze.
MazeTextDisplay - class MazeTextDisplay.
Show a crude representation of the maze on standard output.
MazeTextDisplay(MazeModel) - Constructor for class MazeTextDisplay
Create the display with the given MazeModel.

P

paint(Graphics) - Method in class Maze2D
Paint the maze.
paint(Graphics) - Method in class Maze3D
From Component, paint the 2D projection of the maze based on the current position and view orientation.

R

removeMazeListener(MazeListener) - Method in class Maze
Remove a MazeListener.
removeMazeListener(MazeListener) - Method in interface MazeModel
Remove a MazeListener.

S

setCurrent(Coordinate3D) - Method in class Maze
Set the current player co-ordinate.
setCurrent(Coordinate3D) - Method in interface MazeModel
Set the current player co-ordinate.
setFinish(Coordinate3D) - Method in class Maze
Set where the finish cell is.
setFinish(Coordinate3D) - Method in interface MazeModel
Set the position of the finish or goal cell.
setMark(Coordinate3D, boolean) - Method in class Maze
Put or remove a "I've been here" marker in a cell.
setMark(Coordinate3D, boolean) - Method in interface MazeModel
Set an "I've been here" mark in the given cell.
setOrientation(byte, byte, byte) - Method in class Maze3D
Set the orientation of the view.
setRandomFinish() - Method in class Maze
Make a random finish location.
setRandomFinish() - Method in interface MazeModel
Set a random position for the finish cell.
setZ(int) - Method in class Maze2D
Set the Z co-ordinate of the maze being displayed.
solve(Coordinate3D) - Method in class Maze
Solve the maze from a given start position.
solve(Coordinate3D) - Method in interface MazeModel
Solve the maze from a given start position.

T

toString() - Method in class Coordinate3D
Get a String representation of the co-ordinate.

W

WALLS - Static variable in interface MazeModel
Bitmap value for all walls (no passages).

X

XMI - Static variable in interface MazeModel
Bitmap value for an exit in the X- direction.
XPL - Static variable in interface MazeModel
Bitmap value for an exit in the X+ direction.

Y

YMI - Static variable in interface MazeModel
Bitmap value for an exit in the Y- direction.
YPL - Static variable in interface MazeModel
Bitmap value for an exit in the Y+ direction.

Z

ZMI - Static variable in interface MazeModel
Bitmap value for an exit in the Z- direction.
ZPL - Static variable in interface MazeModel
Bitmap value for an exit in the Z+ direction.

A C D E F G I M P R S T W X Y Z