Class WebPathNode
java.lang.Object
org.highlife.api.methods.walking.pathfinding.impl.web.WebPathNode
- All Implemented Interfaces:
Comparable<WebPathNode>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConnections(Queue<WebPathNode> open, Set<AbstractWebNode> closed) intbooleangetConnections(Queue<WebPathNode> open, Set<WebPathNode> closed) doublegetCost()Deprecated.intgetDepth()floatgetFCost()getOwner()intgetX()intgetY()intgetZ()inthashCode()booleanisValid()toString()void
-
Constructor Details
-
WebPathNode
-
-
Method Details
-
getCost
Deprecated. -
updateCost
public void updateCost() -
getConnections
-
addConnections
-
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
compareTo
- Specified by:
compareToin interfaceComparable<WebPathNode>
-
toString
-
equals
-
hashCode
public int hashCode() -
isValid
public boolean isValid() -
getCurrent
-
getOwner
-
getDepth
public int getDepth() -
getFCost
public float getFCost()
-