Class TollWebNode
java.lang.Object
org.highlife.api.methods.walking.web.node.AbstractWebNode
org.highlife.api.methods.walking.web.node.impl.TollWebNode
- All Implemented Interfaces:
Locatable
-
Constructor Summary
ConstructorsConstructorDescriptionTollWebNode(int x, int y) TollWebNode(int x, int y, int z) TollWebNode(Tile tile) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute()booleanintgetToll()getType()booleanbooleanisValid()voidvoidsetDestination(AbstractWebNode destination) voidsetEntityName(String entityName) voidsetToll(int toll) Methods inherited from class org.highlife.api.methods.walking.web.node.AbstractWebNode
addConnections, addDualConnections, addIncomingConnections, addOutgoingConnections, clear, distance, equals, getConnections, getGridX, getGridY, getIndex, getTile, getTileReference, getWeight, getX, getY, getZ, hashCode, initializeConnections, removeConnections, removeDualConnections, setConnections, setWeight, toString, walkingDistanceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.highlife.api.wrappers.interactive.Locatable
canReach, canReach, getRegionId, tileDistance
-
Constructor Details
-
TollWebNode
public TollWebNode(int x, int y, int z) -
TollWebNode
public TollWebNode(int x, int y) -
TollWebNode
-
-
Method Details
-
getType
- Overrides:
getTypein classAbstractWebNode
-
execute
public boolean execute()- Overrides:
executein classAbstractWebNode
-
hasRequirements
public boolean hasRequirements()- Overrides:
hasRequirementsin classAbstractWebNode
-
getDestination
-
setDestination
-
getEntityName
-
setEntityName
-
getToll
public int getToll() -
setToll
public void setToll(int toll) -
getAction
-
setAction
-
forceNext
public boolean forceNext()- Overrides:
forceNextin classAbstractWebNode
-
isValid
public boolean isValid()- Overrides:
isValidin classAbstractWebNode
-
getRequiredItems
- Overrides:
getRequiredItemsin classAbstractWebNode
-