Class SOSDoor
- java.lang.Object
-
- org.dreambot.api.methods.walking.pathfinding.impl.obstacle.PathObstacle
-
- org.dreambot.api.methods.walking.pathfinding.impl.obstacle.impl.PassableObstacle
-
- org.dreambot.api.methods.walking.pathfinding.impl.obstacle.impl.SOSDoor
-
public class SOSDoor extends PassableObstacle
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.dreambot.api.methods.walking.pathfinding.impl.obstacle.impl.PassableObstacle
PassableObstacle.PassableObstacleBuilder
-
-
Constructor Summary
Constructors Constructor Description SOSDoor(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SOSDoor
duplicate(Tile obsTile)
Creates a new PathObstacle setting the obstacles tile Note: This MUST return a new PathObstacle with the correct obstacle tilejava.util.List<java.lang.String>
getDialogueOptions()
java.lang.String
toString()
boolean
traverse()
Traverses the obstacle **NOTE** this is not abstract to preserve current compilation of existing overrides At some point when deprecated methods start to be removed, this *will* become abstract-
Methods inherited from class org.dreambot.api.methods.walking.pathfinding.impl.obstacle.impl.PassableObstacle
addDialogueOptions, isCompleted
-
Methods inherited from class org.dreambot.api.methods.walking.pathfinding.impl.obstacle.PathObstacle
equals, exists, getAction, getCondition, getEndTile, getName, getObstacle, getObstacleTile, getPriority, getStartTile, hashCode, isValid, setAction, setCondition, setEndTile, setName, setObstacleTile, setStartTile
-
-
-
-
Method Detail
-
traverse
public boolean traverse()
Description copied from class:PathObstacle
Traverses the obstacle **NOTE** this is not abstract to preserve current compilation of existing overrides At some point when deprecated methods start to be removed, this *will* become abstract- Overrides:
traverse
in classPassableObstacle
- Returns:
- true if successfully traversed
-
duplicate
public SOSDoor duplicate(Tile obsTile)
Description copied from class:PathObstacle
Creates a new PathObstacle setting the obstacles tile Note: This MUST return a new PathObstacle with the correct obstacle tile- Overrides:
duplicate
in classPassableObstacle
- Parameters:
obsTile
- Obstacle's tile- Returns:
- duplicated PathObstacle
-
getDialogueOptions
public java.util.List<java.lang.String> getDialogueOptions()
- Overrides:
getDialogueOptions
in classPassableObstacle
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-