Package zombie.ai.astar.heuristics
Class ClosestHeuristic
java.lang.Object
zombie.ai.astar.heuristics.ClosestHeuristic
- All Implemented Interfaces:
AStarHeuristic
public class ClosestHeuristic extends java.lang.Object implements AStarHeuristic
-
Constructor Summary
Constructors Constructor Description ClosestHeuristic()
-
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
-
ClosestHeuristic
public ClosestHeuristic()
-
-
Method Details
-
getCost
- Specified by:
getCost
in interfaceAStarHeuristic
-