Class SelfConnectingWebNode
- java.lang.Object
-
- org.dreambot.api.methods.walking.web.node.AbstractWebNode
-
- org.dreambot.api.methods.walking.web.node.impl.pathaware.SelfConnectingWebNode
-
- All Implemented Interfaces:
PathAwareWebNode
,Locatable
- Direct Known Subclasses:
CharterWebNode
,FairyRingWebNode
,GnomeGliderWebNode
,MountainGuideWebNode
,SpiritTreeWebNode
public abstract class SelfConnectingWebNode extends AbstractWebNode implements PathAwareWebNode
-
-
Constructor Summary
Constructors Constructor Description SelfConnectingWebNode(ConditionalLocation location)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.List<AbstractWebNode>
getConnections()
ConditionalLocation
getLocation()
abstract java.util.List<ConditionalLocation>
getLocations()
boolean
hasRequirements()
This is used to determine during path finding if the current player can use this nodejava.lang.String
toString()
-
Methods inherited from class org.dreambot.api.methods.walking.web.node.AbstractWebNode
addConnections, addDualConnections, addIncomingConnections, addOutgoingConnections, clear, distance, equals, execute, forceNext, getGridX, getGridY, getIndex, getRequiredItems, getTile, getTileReference, getType, getWeight, getX, getY, getZ, hashCode, initializeConnections, isValid, removeConnections, removeDualConnections, setConnections, setWeight, walkingDistance
-
Methods inherited from interface org.dreambot.api.wrappers.interactive.Locatable
canReach, canReach, tileDistance
-
Methods inherited from interface org.dreambot.api.methods.walking.web.node.impl.pathaware.PathAwareWebNode
execute
-
-
-
-
Constructor Detail
-
SelfConnectingWebNode
public SelfConnectingWebNode(ConditionalLocation location)
-
-
Method Detail
-
getLocations
public abstract java.util.List<ConditionalLocation> getLocations()
-
hasRequirements
public boolean hasRequirements()
Description copied from class:AbstractWebNode
This is used to determine during path finding if the current player can use this node- Overrides:
hasRequirements
in classAbstractWebNode
- Returns:
- true if it's usable by the current player, false otherwise
-
getConnections
public java.util.List<AbstractWebNode> getConnections()
- Overrides:
getConnections
in classAbstractWebNode
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractWebNode
-
getLocation
public ConditionalLocation getLocation()
-
-