Package zombie.ai.astar.heuristics
Class ClosestSquaredHeuristic
java.lang.Object
zombie.ai.astar.heuristics.ClosestSquaredHeuristic
- All Implemented Interfaces:
AStarHeuristic
public class ClosestSquaredHeuristic extends java.lang.Object implements AStarHeuristic
-
Constructor Summary
Constructors Constructor Description ClosestSquaredHeuristic()
-
Method Summary
Modifier and Type Method Description float
getCost(TileBasedMap map, Mover mover, int x, int y, int z, int tx, int ty, int tz)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ClosestSquaredHeuristic
public ClosestSquaredHeuristic()
-
-
Method Details
-
getCost
- Specified by:
getCost
in interfaceAStarHeuristic
-