class flixel.FlxSubState extends FlxState

Available on all platforms

This is the basic game "state" object - e.g. in a simple game you might have a menu state and a play state. * It is for all intents and purpose a fancy FlxGroup. And really, it's not even that fancy.

Instance Fields

function new(?BGColor:Int = 0):Void

BGColor

background color for this substate

function close():Void

Closes this substate.

function closeCallback():Void

Callback method for state close event

function destroy():Void

function draw():Void