Class WebPathNode
- java.lang.Object
- 
- org.dreambot.api.methods.walking.pathfinding.impl.web.WebPathNode
 
- 
- All Implemented Interfaces:
- java.lang.Comparable<WebPathNode>
 
 public class WebPathNode extends java.lang.Object implements java.lang.Comparable<WebPathNode> 
- 
- 
Constructor SummaryConstructors Constructor Description WebPathNode(WebPathNode owner, AbstractWebNode current)WebPathNode(WebPathNode owner, AbstractWebNode destination, AbstractWebNode current)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConnections(java.util.Queue<WebPathNode> open, java.util.Set<WebPathNode> closed)intcompareTo(WebPathNode o)booleanequals(java.lang.Object obj)java.util.List<WebPathNode>getConnections(java.util.Queue<WebPathNode> open, java.util.Set<WebPathNode> closed)doublegetCost()AbstractWebNodegetCurrent()intgetDepth()WebPathNodegetOwner()intgetX()intgetY()intgetZ()inthashCode()booleanisValid()java.lang.StringtoString()voidupdateCost()
 
- 
- 
- 
Constructor Detail- 
WebPathNode@Deprecated public WebPathNode(WebPathNode owner, AbstractWebNode destination, AbstractWebNode current) Deprecated.
 - 
WebPathNodepublic WebPathNode(WebPathNode owner, AbstractWebNode current) 
 
- 
 - 
Method Detail- 
updateCostpublic void updateCost() 
 - 
getConnectionspublic java.util.List<WebPathNode> getConnections(java.util.Queue<WebPathNode> open, java.util.Set<WebPathNode> closed) 
 - 
addConnectionspublic void addConnections(java.util.Queue<WebPathNode> open, java.util.Set<WebPathNode> closed) 
 - 
getXpublic int getX() 
 - 
getYpublic int getY() 
 - 
getZpublic int getZ() 
 - 
compareTopublic int compareTo(WebPathNode o) - Specified by:
- compareToin interface- java.lang.Comparable<WebPathNode>
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
isValidpublic boolean isValid() 
 - 
getCurrentpublic AbstractWebNode getCurrent() 
 - 
getOwnerpublic WebPathNode getOwner() 
 - 
getDepthpublic int getDepth() 
 - 
getCostpublic double getCost() 
 
- 
 
-