-
Notifications
You must be signed in to change notification settings - Fork 0
Maze
Dan Green edited this page Jan 18, 2015
·
1 revision
##Maze
public Maze(int[][] maze, int[] startPoint, int[] endPoint)
An object class representing a maze.
params
-
maze
- A 2D representation of a maze. -
MAZEHEIGHT
- The height of the coordinate maze. -
MAZELENGTH
- The length of the coordinate maze. -
STARTPOINT
- The coordinates of the starting location. -
ENDPOINT
- The coordinates of the starting location.
##getStartX
int getStartX()
Return X-coordinate of starting point.
##getStartY
int getStartY()
Return Y-coordinate of starting point.
##getEndX
int getEndX()
Return X-coordinate of ending point.
##getEndY
int getEndY()
Return Y-coordinate of ending point.
##maze;
int[][] maze;
Maze array.
##STARTPOINT;
final int[] STARTPOINT;
Beginning point of maze.
##ENDPOINT;
int[] ENDPOINT;
Ending point of maze.
##MAZEHEIGHT;
final int MAZEHEIGHT;
Height of maze.
##MAZELENGTH;
final int MAZELENGTH;
Length of maze.