java.lang.Object
org.highlife.api.methods.walking.pathfinding.impl.PathFinder<Tile>
org.highlife.api.methods.walking.pathfinding.impl.local.LocalPathFinder

public class LocalPathFinder extends PathFinder<Tile>
  • Constructor Details

    • LocalPathFinder

      public LocalPathFinder()
  • Method Details

    • getLocalPathFinder

      public static LocalPathFinder getLocalPathFinder()
    • calculate

      public LocalPath<Tile> calculate(Tile start, Tile end)
      Overrides:
      calculate in class PathFinder<Tile>
    • calculate

      public LocalPath<Tile> calculate(int sx, int sy, int tx, int ty)
      Overrides:
      calculate in class PathFinder<Tile>
    • calculate

      public LocalPath<Tile> calculate(int sx, int sy, int sz, int ex, int ey, int ez)
      Specified by:
      calculate in class PathFinder<Tile>
    • calculate

      public LocalPath<Tile> calculate(int sx, int sy, int tx, int ty, int z)
      Overrides:
      calculate in class PathFinder<Tile>
    • getCurrentDepth

      public int getCurrentDepth()
    • setCurrentDepth

      public void setCurrentDepth(int currentDepth)
    • getHeuristicCost

      public float getHeuristicCost(int x, int y, int tx, int ty)
    • getHeuristicCost

      public float getHeuristicCost(int x, int y, int z, int tx, int ty, int tz)
    • getWalkingDistance

      public double getWalkingDistance(Tile startTile, Tile endTile)