Uses of Class
org.almacha.achamaze.Direction

Uses of Direction in org.almacha.achamaze
 

Fields in org.almacha.achamaze declared as Direction
private  Direction FollowLeftWallAlgo.going
           
private  Direction PledgeAlgorithm.going
           
 

Methods in org.almacha.achamaze that return Direction
protected  Direction FollowLeftWallAlgo.decide()
           
protected  Direction PledgeAlgorithm.decide()
           
protected abstract  Direction MazeSolvingAlgorithm.decide()
          This method decides in which direction the player should go.
 Direction Direction.left()
          Returns the direciton on the left of the given one.
 Direction Direction.right()
          Returns the direciton on the right of the given one.
static Direction Direction.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Direction[] Direction.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.almacha.achamaze with parameters of type Direction
 boolean PlayerStateForMazeAlgo.canMove(Direction direction)
           
 boolean Player.canMove(Direction d)
          Tells whether the player can move in direction d.
 boolean Maze.canMove(int i, int j, Direction d)
          Tells whether it is possible to move in direction d from cell (i, j).
 boolean Maze.isWallUp(int i, int j, Direction wall)
          This method returns whether a wall is up or not.
 void PlayerStateForMazeAlgo.move(Direction direction)
           
 void Player.move(Direction direction)
          Move in the requested direction.
 void Maze.setWallIsUp(int i, int j, Direction wall, boolean isUp)
          This method sets whether a wall is there or not.