public class PlayerStateForMazeAlgo
extends java.lang.Object
Constructor and Description |
---|
PlayerStateForMazeAlgo(Maze maze,
Player player) |
Modifier and Type | Method and Description |
---|---|
boolean |
canMove(Direction direction) |
Maze |
getMaze() |
Player |
getPlayer() |
void |
move(Direction direction) |
public boolean canMove(Direction direction)
public void move(Direction direction) throws PlayerCannotMoveException
PlayerCannotMoveException
public Maze getMaze()
public Player getPlayer()