Class DynamicTeleportWebNode
- java.lang.Object
-
- org.dreambot.api.methods.walking.web.node.AbstractWebNode
-
- org.dreambot.api.methods.walking.web.node.impl.dynamic.DynamicTeleportWebNode
-
- All Implemented Interfaces:
Locatable
public class DynamicTeleportWebNode extends AbstractWebNode
Created with IntelliJ IDEA. User: NotoriousPP Date: 12/17/2014 Time: 9:15 PMRepresents a dynamic teleport such as a spell or tab.
-
-
Constructor Summary
Constructors Constructor Description DynamicTeleportWebNode(int x, int y)
DynamicTeleportWebNode(int x, int y, int z)
DynamicTeleportWebNode(org.dreambot.internal.web.WebNodes.WebNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addItemToRequirements(DynamicTeleport... items)
boolean
execute(MethodContext ctx)
java.util.List<DynamicTeleport>
getRequiredItems()
WebNodeType
getType()
boolean
isValid()
void
removeItemFromRequirements(DynamicTeleport item)
-
Methods inherited from class org.dreambot.api.methods.walking.web.node.AbstractWebNode
addConnections, distance, equals, forceNext, getConnections, getGridX, getGridY, getGX, getGX, getGX, getGY, getGY, getGY, getIndex, getTile, getTileReference, getX, getY, getZ, hashCode, hasRequirements, removeConnections, setConnections, setX, setY, toString, walkingDistance
-
-
-
-
Method Detail
-
getType
public WebNodeType getType()
- Overrides:
getType
in classAbstractWebNode
-
execute
public boolean execute(MethodContext ctx)
- Overrides:
execute
in classAbstractWebNode
-
getRequiredItems
public java.util.List<DynamicTeleport> getRequiredItems()
-
addItemToRequirements
public void addItemToRequirements(DynamicTeleport... items)
-
removeItemFromRequirements
public void removeItemFromRequirements(DynamicTeleport item)
-
isValid
public boolean isValid()
- Overrides:
isValid
in classAbstractWebNode
-
-