View source
class FlxFSMStack<T>
package flixel.addons.util
extends FlxFSMStackSignal
implements IFlxDestroyable
import flixel.addons.util.FlxFSM
Used for grouping FSM instances and updating them according to the stack's updateMode.
Constructor
Variables
Methods
lock(name:String):Void
Locks the specified FSM for the duration of the update loop
Parameters:
name | The name of the FSM to lock |
---|
lockType(bitflag:Int):Void
Locks by type, so that if FSM.type & bitflag != 0
, the FSM gets locked.
Parameters:
bitflag | You can use |
---|
remove(FSM:FlxFSM<T>):Void
Removes the FSM from the stack and destroys it
Parameters:
FSM | The FSM to remove |
---|
removeByName(name:String):Void
Removes the FSM with given name from the stack and destroys it
Parameters:
name | The name of the FSM to remove |
---|