The policy to use with FlxDiagonalPathfinder.

Available since

5.0.0

.

Variables

@:value(cast 0)@:impl@:enuminlineread onlyNONE:FlxTilemapDiagonalPolicy = 0

No diagonal movement allowed when calculating the path

@:value(cast 1)@:impl@:enuminlineread onlyNORMAL:FlxTilemapDiagonalPolicy = 1

Diagonal movement costs the same as orthogonal movement

@:value(cast 2)@:impl@:enuminlineread onlyWIDE:FlxTilemapDiagonalPolicy = 2

Diagonal movement costs one more than orthogonal movement