class flixel.plugin.FlxPlugin extends FlxBasic
Available on all platforms
Sub classes | ||||||||||||||||||
![]() | FlxControl, FlxScreenGrab, FlxMouseControl, FlxScrollingText, MouseEventManager, PathManager, TimerManager, TweenManager |
|
A base class for all flixel plugins that use the flixel plugin system (see FlxG.plugins). * Plugins are basically FlxBasics, but they provide some additional features, like * notifications for certain events like switchting the state or resizing the window.
Instance Fields
function onResize(Width:Int, Height:Int):Void
This function is called whenever the window size has been changed. *
Width | The new window width * |
Height | The new window Height |
function onStateSwitch():Void
This function is called whenever the state is switched or reset * (FlxG.switchState() and FlxG.resetState()).