flixel.path

..
CenterMode

CenterMode defines how an object should be placed when following the path.

FlxDiagonalPathfinder

A basic implementation of FlxPathfinder that allows for different diagonal policies.

FlxPath

This is a simple path data container. Basically a list of points that a FlxObject can follow. Also has code for drawing debug visuals. FlxTilemap.findPath() returns a path usable by FlxPath, but you can also just make your own, using the add() functions below or by creating your own array of points.

FlxPathDrawData

FlxPathSimplifier

FlxPathType

Path behavior controls

FlxPathfinder

Used to find paths in a FlxBaseTilemap. extend this class and override getNeighbors and getDistance to create you're own! For top-down maps, it may be wiser to extend FlxDiagonalPathfinder, as it already has a lot of basic helpers.

FlxPathfinderData

The path data created whenever a FlxPathfinderData is used.

FlxPathfinderDataFactory

Usually just FlxPathfinderData.new, but can be any function that takes a map and 2 indices and returns whatever FlxPathfinderData you're looking for.

FlxTilemapDiagonalPolicy

The policy to use with FlxDiagonalPathfinder.

FlxTypedPathfinder

Typed version of FlxPathfinder in case you're using a different FlxPathfinderData or FlxTilemap type.

FlxTypedPathfinderData

The data used by Pathfinders to "solve" a single pathfinding request. A new Instance gets created whenever you request pathfinder computations. Extend this class if your pathfinding needs require special iterative data.