|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvitro.util.Maze
public class Maze
Nested Class Summary | |
---|---|
static class |
Maze.Direction
|
Field Summary | |
---|---|
int |
height
|
int |
width
|
Constructor Summary | |
---|---|
Maze(int width,
int height)
|
Method Summary | |
---|---|
int[][] |
asIntegerGrid()
|
boolean |
passable(int x,
int y,
Maze.Direction dir)
|
void |
setPassable(int x,
int y,
Maze.Direction dir,
boolean v)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final int width
public final int height
Constructor Detail |
---|
public Maze(int width, int height)
Method Detail |
---|
public boolean passable(int x, int y, Maze.Direction dir)
public void setPassable(int x, int y, Maze.Direction dir, boolean v)
public int[][] asIntegerGrid()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |