Class ClosestSquaredHeuristic

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

public class ClosestSquaredHeuristic extends Object implements AStarHeuristic
  • Constructor Details

    • ClosestSquaredHeuristic

      public ClosestSquaredHeuristic()
  • Method Details

    • getCost

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