class flixel.plugin.PathManager extends FlxPlugin

Available on all platforms

Instance Fields

function new():Void

Instantiates a new debug path display manager.

function add(Path:FlxPath):Void

Add a path to the path debug display manager. * Usually called automatically by FlxPath's constructor. * *

Path

The FlxPath you want to add to the manager.

function clear():Void

Removes all the paths from the path debug display manager.

function destroy():Void

Clean up memory.

function draw():Void

Called by FlxG.plugins.draw() after the game state has been drawn. * Cycles through cameras and calls drawDebug() on each one.

function onStateSwitch():Void

function remove(Path:FlxPath, ?ReturnInPool:Bool = true):Void

Remove a path from the path debug display manager. * Usually called automatically by FlxPath's destroy() function. * *

Path

The FlxPath you want to remove from the manager.

function update():Void