Class AStarPathFinder
java.lang.Object
de.gurkenlabs.litiengine.entities.behavior.PathFinder
de.gurkenlabs.litiengine.entities.behavior.AStarPathFinder
-
Constructor Summary
ConstructorsConstructorDescriptionAStarPathFinder(AStarGrid grid) AStarPathFinder(IMap map) AStarPathFinder(IMap map, int gridNodeSize) AStarPathFinder(Dimension size, int gridNodeSize) -
Method Summary
Methods inherited from class de.gurkenlabs.litiengine.entities.behavior.PathFinder
applyPathMargin, findDirectPath, intersectsWithAnyCollisionBox
-
Constructor Details
-
AStarPathFinder
-
AStarPathFinder
-
AStarPathFinder
-
AStarPathFinder
-
-
Method Details
-
findPath
Description copied from class:PathFinderGets the path.- Specified by:
findPathin classPathFinder- Parameters:
entity- the starttarget- the goal- Returns:
- the path
-
getGrid
-