Static variables

staticcurState:String

Name of the current state

Static methods

staticgetStateInstance(state:String):MusicBeatState

Gets a softcoded state's instance by string.

staticresetState():Void

Reset current class. You may also use MusicBeatState.resetState()

staticswitchState(state:String):Void

Switches to a new softcoded state.