Class ClosestHeuristic

java.lang.Object
com.ardorcraft.pathfinding.heuristics.ClosestHeuristic
All Implemented Interfaces:
AStarHeuristic

public class ClosestHeuristic extends Object implements AStarHeuristic
  • Constructor Details

    • ClosestHeuristic

      public ClosestHeuristic()
  • Method Details

    • getCost

      public float getCost(int x, int y, int z, int tx, int ty, int tz)
      Specified by:
      getCost in interface AStarHeuristic