Package | Description |
---|---|
com.b3dgs.lionengine.game.pathfinding |
Modifier and Type | Class and Description |
---|---|
class |
ClosestHeuristic
A heuristic that uses the tile that is closest to the target as the next best tile.
|
class |
ClosestSquaredHeuristic
A heuristic that uses the tile that is closest to the target
as the next best tile.
|
class |
ManhattanHeuristic
A heuristic that drives the search based on the Manhattan distance
between the current location and the target
|
Constructor and Description |
---|
AStarPathFinder(PathBasedMap<? extends AbstractPathTile> map,
int maxSearchDistance,
boolean allowDiagMovement,
AStarHeuristic heuristic)
Create a path finder.
|