java.lang.Object
org.highlife.api.methods.walking.pathfinding.impl.node.PathNode
All Implemented Interfaces:
Comparable<PathNode>

public class PathNode extends Object implements Comparable<PathNode>
  • Constructor Details

    • PathNode

      public PathNode(int x, int y, int z)
  • Method Details

    • compareTo

      public int compareTo(PathNode other)
      Specified by:
      compareTo in interface Comparable<PathNode>
    • getObject

      public GameObject getObject()
    • getX

      public int getX()
    • setX

      public void setX(int x)
    • getY

      public int getY()
    • setY

      public void setY(int y)
    • getZ

      public int getZ()
    • setZ

      public void setZ(int z)
    • getDepth

      public int getDepth()
    • setDepth

      public void setDepth(int depth)
    • getCost

      public float getCost()
    • setCost

      public void setCost(float cost)
    • getOwner

      public PathNode getOwner()
    • setOwner

      public int setOwner(PathNode owner)
    • toTile

      public Tile toTile()
    • toTile

      public Tile toTile(int baseX, int baseY)
    • toString

      public String toString()
      Overrides:
      toString in class Object