Свойство | Тип | Описание | |
---|---|---|---|
grid | bool[,,] | ||
level | int |
Метод | Описание | |
---|---|---|
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 |
Результат | bool |
public static IsDeadEnd ( Point p ) : bool | ||
p | Point | |
Результат | bool |
public static IsIntersection ( Point p ) : bool | ||
p | Point | The point to check |
Результат | bool |
public static LoadMaze ( int map ) : void | ||
map | int | |
Результат | void |
public static getPointToPlace ( ) : Point | ||
Результат | Point |