Class ClosestHeuristic

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

public class ClosestHeuristic extends Object implements AStarHeuristic
  • Constructor Details Link icon

    • ClosestHeuristic Link icon

      public ClosestHeuristic()
  • Method Details Link icon

    • getCost Link icon

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