Class ClimbableObstacle.ClimbableObstacleBuilder
- java.lang.Object
-
- org.dreambot.api.methods.walking.pathfinding.impl.obstacle.impl.ClimbableObstacle.ClimbableObstacleBuilder
-
- Enclosing class:
- ClimbableObstacle
public static class ClimbableObstacle.ClimbableObstacleBuilder extends java.lang.Object
Builder class used to create a new ClimbableObstacleBuilder new ClimbableObstacle.ClimbableObstacleBuilder("Staircase","Climb-up").createClimbableObstacle();
-
-
Constructor Summary
Constructors Constructor Description ClimbableObstacleBuilder(java.lang.String name, java.lang.String action)
Constructor of ClimbableObstacleBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClimbableObstacle
createClimbableObstacle()
Creates a new ClimbableObstacle based on the builder's informationClimbableObstacle.ClimbableObstacleBuilder
endTile(Tile endTile)
Sets the end tile of the obstacleClimbableObstacle.ClimbableObstacleBuilder
obstacleTile(Tile obstacleTile)
Sets the obstacle's tileClimbableObstacle.ClimbableObstacleBuilder
startTile(Tile startTile)
Set the start tile of the obstacle
-
-
-
Method Detail
-
startTile
public ClimbableObstacle.ClimbableObstacleBuilder startTile(Tile startTile)
Set the start tile of the obstacle- Parameters:
startTile
- Start tile- Returns:
- ClimbableObstacleBuilder
-
endTile
public ClimbableObstacle.ClimbableObstacleBuilder endTile(Tile endTile)
Sets the end tile of the obstacle- Parameters:
endTile
- End tile- Returns:
- ClimbableObstacleBuilder
-
obstacleTile
public ClimbableObstacle.ClimbableObstacleBuilder obstacleTile(Tile obstacleTile)
Sets the obstacle's tile- Parameters:
obstacleTile
- The tile of the obstacle- Returns:
- ClimbableObstacleBuilder
-
createClimbableObstacle
public ClimbableObstacle createClimbableObstacle()
Creates a new ClimbableObstacle based on the builder's information- Returns:
- ClimbableObstacle
-
-