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,LovakengjMinecartWebNode,MountainGuideWebNode,QuetzalWebNode,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()ConditionalLocationgetLocation()abstract java.util.List<ConditionalLocation>getLocations()booleanhasRequirements()This is used to determine during path finding if the current player can use this nodejava.lang.StringtoString()-
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, getRegionId, 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:AbstractWebNodeThis is used to determine during path finding if the current player can use this node- Overrides:
hasRequirementsin classAbstractWebNode- Returns:
- true if it's usable by the current player, false otherwise
-
getConnections
public java.util.List<AbstractWebNode> getConnections()
- Overrides:
getConnectionsin classAbstractWebNode
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractWebNode
-
getLocation
public ConditionalLocation getLocation()
-
-