class flixel.addons.ui.MultiKey implements IFlxDestroyable

Available on all platforms

Makes it easier to check if, say, SHIFT+Tab is being pressed rather than just Tab by itself * @author

Instance Fields

var key:Int

function new(Key:Int, ?Combos:Array<Int> = null, ?Forbiddens:Array<Int> = null):Void

function destroy():Void

function equals(other:MultiKey):Bool

function justPressed():Bool

Was the main key JUST pressed, AND are all of the combo keys currently pressed? (and none of the forbiddens?) * @return

function justReleased():Bool

Was the main key JUST released, AND are no forbidden keys currently pressed? (Ignore whether combos were just released) * @return

function pressed():Bool

Is the main key and all of the combo keys currently pressed? (and none of the forbiddens?) * @return