A list of actions that a player would invoke via some input device. Uses FlxActions to funnel various inputs to a single action.
Static methods
View on GitHub
staticinlineaddButtons(action:FlxActionDigital, buttons:Array<FlxGamepadInputID>, state:FlxInputState, id:Int):Void
View on GitHub
staticinlineaddKeys(action:FlxActionDigital, keys:Array<FlxKey>, state:FlxInputState):Void
View on GitHub
staticremoveButtons(action:FlxActionDigital, gamepadID:Int, buttons:Array<FlxGamepadInputID>):Void
Constructor
Variables
Methods
View on GitHub
inlinebindButtons(control:Control, id:Int, buttons:Array<FlxGamepadInputID>):Void
Sets all actions that pertain to the binder to trigger when the supplied keys are used. If binder is a literal you can inline this
View on GitHub
inlinebindKeys(control:Control, keys:Array<FlxKey>):Void
Sets all actions that pertain to the binder to trigger when the supplied keys are used. If binder is a literal you can inline this
View on GitHub
inlineunbindButtons(control:Control, gamepadID:Int, buttons:Array<FlxGamepadInputID>):Void
Sets all actions that pertain to the binder to trigger when the supplied keys are used. If binder is a literal you can inline this
View on GitHub
inlineunbindKeys(control:Control, keys:Array<FlxKey>):Void
Sets all actions that pertain to the binder to trigger when the supplied keys are used. If binder is a literal you can inline this