maze
Class RandomMaze

public class RandomMaze
extends Maze

Title: RandomMaze

Description: A random generated maze. This is a very simple example of a maze.

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
Zoran Budimlic
Field Detail

M

Status[][] M
A two-dimensional array to hold the status of the maze cells

walls

boolean[][][][] walls
A four-dimensional array to hold the adjacency matrix of the maze walls

startX

int startX
Coordinates of the starting and ending point in the maze

startY

int startY
Coordinates of the starting and ending point in the maze

endX

int endX
Coordinates of the starting and ending point in the maze

endY

int endY
Coordinates of the starting and ending point in the maze