Class EntranceWebNode
java.lang.Object
org.highlife.api.methods.walking.web.node.AbstractWebNode
org.highlife.api.methods.walking.web.node.impl.EntranceWebNode
- All Implemented Interfaces:
Locatable
-
Constructor Summary
ConstructorsConstructorDescriptionEntranceWebNode(int x, int y) EntranceWebNode(int x, int y, int z) EntranceWebNode(int x, int y, int z, String entityName, String action) EntranceWebNode(Tile tile, String entityName, String action) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute()booleanexecute(AbstractWebNode nextNode) booleanString[]getType()booleanbooleanbooleanisValid()voidvoidsetActions(String[] actions) voidsetCondition(Condition condition) voidsetEntityName(String entityName) voidsetForcedObjTile(Tile forcedObjTile) voidsetUseSleeps(boolean useSleeps) toString()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, 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
-
EntranceWebNode
public EntranceWebNode(int x, int y) -
EntranceWebNode
public EntranceWebNode(int x, int y, int z) -
EntranceWebNode
-
EntranceWebNode
-
-
Method Details
-
getType
- Overrides:
getTypein classAbstractWebNode
-
execute
-
execute
public boolean execute()- Overrides:
executein classAbstractWebNode
-
hasRequirements
public boolean hasRequirements()- Overrides:
hasRequirementsin classAbstractWebNode
-
forceNext
public boolean forceNext()- Overrides:
forceNextin classAbstractWebNode
-
isValid
public boolean isValid()- Overrides:
isValidin classAbstractWebNode
-
toString
- Overrides:
toStringin classAbstractWebNode
-
getEntityName
-
getAction
-
getActions
-
getCondition
-
isUseSleeps
public boolean isUseSleeps() -
getForcedObjTile
-
getRequiredItems
- Overrides:
getRequiredItemsin classAbstractWebNode
-
setEntityName
-
setAction
-
setActions
-
setCondition
-
setUseSleeps
public void setUseSleeps(boolean useSleeps) -
setForcedObjTile
-