Class StaticTeleportWebNode
- java.lang.Object
-
- org.dreambot.api.methods.walking.web.node.AbstractWebNode
-
- org.dreambot.api.methods.walking.web.node.impl.StaticTeleportWebNode
-
- All Implemented Interfaces:
Locatable
public class StaticTeleportWebNode extends AbstractWebNode
Created with IntelliJ IDEA. User: NotoriousPP Date: 12/17/2014 Time: 9:15 PMRepresents a static teleport such a lever or other standard teleport.
-
-
Constructor Summary
Constructors Constructor Description StaticTeleportWebNode(int x, int y)
StaticTeleportWebNode(int x, int y, int z)
StaticTeleportWebNode(org.dreambot.internal.web.WebNodes.WebNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(MethodContext ctx)
AbstractWebNode
getDestination()
WebNodeType
getType()
boolean
isHomeTeleport()
boolean
isValid()
void
setDestination(AbstractWebNode destination)
void
setHomeTeleport(boolean homeTeleport)
-
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
-
getDestination
public AbstractWebNode getDestination()
-
setDestination
public void setDestination(AbstractWebNode destination)
-
isHomeTeleport
public boolean isHomeTeleport()
-
setHomeTeleport
public void setHomeTeleport(boolean homeTeleport)
-
isValid
public boolean isValid()
- Overrides:
isValid
in classAbstractWebNode
-
-