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 tileBasedMap, Mover mover, int int1, int int2, int int3, int int4, int int5, int int6)
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
public float getCost(TileBasedMap tileBasedMap, Mover mover, int int1, int int2, int int3, int int4, int int5, int int6)- Specified by:
getCost
in interfaceAStarHeuristic
-