file: Heuristic.aus

class: Heuristic

[15:7] extends: FxObj

Wraps FXGL's Heuristic abstract base (com.almasb.fxgl.pathfinding.heuristic.Heuristic), the cost function h(n) used by A*. The concrete subclasses are ManhattanDistance and DiagonalHeuristic (with OctileDistance underneath). Use this wrapper to adopt a Heuristic AJO and query its weight or per-pair cost.

Methods