class flixel.addons.ui.FlxUISubState extends FlxSubState implements IFlxUIState
Available on all platforms
Sub classes | ||||
![]() | FlxUIPopup |
|
This is a simple extension of FlxState that does two things: * 1) It implements the IEventGetter interface * 2) Automatically creates a FlxUI objects from a single string id * * Usage: * Create a class that extends FlxUIState, override create, and * before you call super.create(), set xmlid to the string id * of the corresponding UI xml file (leave off the extension). * * @author Lars Doucet
Instance Fields
function getRequest(id:String, sender:IFlxUIWidget, data:Dynamic, ?params:Array<Dynamic> = null):Dynamic