Values

NONE

No simplification

LINE

Removes nodes that are directly in line with it's neighbors

RAY

Removes nodes who'with neighbors that have no walls directly blocking Uses tilemap.ray.

RAY_STEP(resolution:Float)

Removes nodes who'with neighbors that have no walls directly blocking Uses tilemap.rayStep.

RAY_BOX(width:Float, height:Float)

Removes nodes who'with neighbors that have no walls directly blocking a box of the given size. Assumes centered origin Uses tilemap.ray.

CUSTOM(method:(FlxPathfinderData, Array<FlxPoint>) ‑> Array<FlxPoint>)

calls the method to simplify