class flixel.system.frontEnds.PluginFrontEnd
Available on all platforms
Instance Fields
function add<T>(Plugin:T):T
Adds a new plugin to the global plugin array. * *
Plugin | Any object that extends FlxPlugin. Useful for managers and other things. See flixel.plugin for some examples! * |
returns | The same FlxPlugin-based plugin you passed in. |
function get(ClassType:Class<FlxPlugin>):FlxPlugin
Retrieves a plugin based on its class name from the global plugin array. * *
ClassType | The class name of the plugin you want to retrieve. See the FlxPath or FlxTimer constructors for example usage. * |
returns | The plugin object, or null if no matching plugin was found. |
function remove(Plugin:FlxPlugin):FlxPlugin
Removes an instance of a plugin from the global plugin array. * *
Plugin | The plugin instance you want to remove. * |
returns | The same FlxPlugin-based plugin you passed in. |
function removeType(ClassType:Class<FlxPlugin>):Bool
Removes all instances of a plugin from the global plugin array. * *
ClassType | The class name of the plugin type you want removed from the array. * |
returns | Whether or not at least one instance of this plugin type was removed. |