Class ClosestHeuristic
java.lang.Object
com.ardorcraft.pathfinding.heuristics.ClosestHeuristic
- All Implemented Interfaces:
AStarHeuristic
-
Constructor Summary
-
Method Summary
-
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 interfaceAStarHeuristic
-