file: AStarPathfinder.aus

class: AStarPathfinder

[14:7] extends: FxObj

Wraps FXGL's AStarPathfinder, the A* algorithm that computes walkable paths through an AStarGrid. Construct with the grid, then call findPath(sx, sy, tx, ty) to get the ordered list of AStarCells from source to target (excluding the source).

Methods