flixel.path

..
CenterMode

FlxBasePath

A simple ordered list of nodes that iterates based on conditions. For this class, that condition is not defined, and must be implemented in your extending class.

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.

FlxPathAnchorMode

Determines an object position in relation to the path

FlxPathDirection

The direction to traverse the nodes

FlxPathDrawData

The drawing scheme of a path's debug draw

FlxPathLoopType

Path behavior for when an end is reached

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.

FlxTypedBasePath

Typed version of FlxBasePath for flexibility in derived classes

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.