Package | Description |
---|---|
com.b3dgs.lionengine.game.pathfinding |
Modifier and Type | Method and Description |
---|---|
Path |
AStarPathFinder.findPath(PathMover mover,
int sx,
int sy,
int tx,
int ty) |
Path |
PathFinder.findPath(PathMover mover,
int sx,
int sy,
int tx,
int ty)
Find a path from the starting location provided (sx,sy) to the target
location (tx,ty) avoiding blockages and attempting to honour costs
provided by the tile map.
|