Property | Type | Description | |
---|---|---|---|
grid | bool[,,] | ||
level | int |
Method | Description | |
---|---|---|
CanGo ( Point p, Direction d ) : bool |
Checks if the robot or record can move in the current direction
|
|
Draw ( ) : void | ||
IsDeadEnd ( Point p ) : bool | ||
IsIntersection ( Point p ) : bool |
Checks if the specified point is an intersection
|
|
LoadMaze ( int map ) : void |
Loads all levels into 3d matrix at beginning of the game.
|
|
getPointToPlace ( ) : Point |
Finds a location in the maze where it is safe to place one of the objects, i.e. not a wall and no records right next to the robot
|
public static CanGo ( Point p, Direction d ) : bool | ||
p | Point | |
d | Direction | the Location, and the direction to move |
return | bool |
public static IsIntersection ( Point p ) : bool | ||
p | Point | The point to check |
return | bool |