public class FollowLeftWallAlgo extends MazeSolvingAlgorithm
Constructor and Description |
---|
FollowLeftWallAlgo(PlayerStateForMazeAlgo playerState) |
Modifier and Type | Method and Description |
---|---|
protected Direction |
decide()
This method decides in which direction the player should go.
|
getPlayerState, move
public FollowLeftWallAlgo(PlayerStateForMazeAlgo playerState)
protected Direction decide()
MazeSolvingAlgorithm
decide
in class MazeSolvingAlgorithm