file: OctileDistance.aus

class: OctileDistance

[15:7] extends: DiagonalHeuristic

Wraps FXGL's OctileDistance heuristic (com.almasb.fxgl.pathfinding.heuristic.OctileDistance), the diagonal-aware cost function used by A* in 8-direction mode. Extends DiagonalHeuristic, so it carries both the base weight and the sqrt(2)-weighted diagonal weight.

Methods