Class GnomeGliderWebNode
- java.lang.Object
-
- org.dreambot.api.methods.walking.web.node.AbstractWebNode
-
- org.dreambot.api.methods.walking.web.node.impl.pathaware.SelfConnectingWebNode
-
- org.dreambot.api.methods.walking.web.node.impl.pathaware.GnomeGliderWebNode
-
- All Implemented Interfaces:
PathAwareWebNode
,Locatable
public class GnomeGliderWebNode extends SelfConnectingWebNode
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(AbstractWebNode next)
This is the same asAbstractWebNode.execute()
except the web walker will pass the next web node in the path after this node.static java.util.List<GnomeGliderWebNode>
getGnomeGliderNodes()
java.util.List<ConditionalLocation>
getLocations()
WebNodeType
getType()
Returns the WebNodeType of this node, used during path finding to ensure they're not disabled by the script-
Methods inherited from class org.dreambot.api.methods.walking.web.node.impl.pathaware.SelfConnectingWebNode
getConnections, getLocation, hasRequirements, 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, 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
-
-
-
-
Method Detail
-
getGnomeGliderNodes
public static java.util.List<GnomeGliderWebNode> getGnomeGliderNodes()
-
execute
public boolean execute(AbstractWebNode next)
Description copied from interface:PathAwareWebNode
This is the same asAbstractWebNode.execute()
except the web walker will pass the next web node in the path after this node.Important note: if your node implements this interface, the walker will call
PathAwareWebNode.execute(AbstractWebNode)
instead ofAbstractWebNode.execute()
.- Parameters:
next
- the web node after this node in the web path, or null if this is the last web node- Returns:
- true if the node is successfully handled, false otherwise
-
getLocations
public java.util.List<ConditionalLocation> getLocations()
- Specified by:
getLocations
in classSelfConnectingWebNode
-
getType
public WebNodeType getType()
Description copied from class:AbstractWebNode
Returns the WebNodeType of this node, used during path finding to ensure they're not disabled by the script- Overrides:
getType
in classAbstractWebNode
- Returns:
- the type of web node
-
-