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 SOSDoorduplicate(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.StringtoString()booleantraverse()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:PathObstacleTraverses 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:
traversein classPassableObstacle- Returns:
- true if successfully traversed
-
duplicate
public SOSDoor duplicate(Tile obsTile)
Description copied from class:PathObstacleCreates a new PathObstacle setting the obstacles tile Note: This MUST return a new PathObstacle with the correct obstacle tile- Overrides:
duplicatein classPassableObstacle- Parameters:
obsTile- Obstacle's tile- Returns:
- duplicated PathObstacle
-
getDialogueOptions
public java.util.List<java.lang.String> getDialogueOptions()
- Overrides:
getDialogueOptionsin classPassableObstacle
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-