Constructors
constructor
-
Parameters
-
Default value keys: Set<number> = new Set<number>()
-
Default value stateKeys: ComboStateKeys = new ComboStateKeys()
Methods
addEvent
- addEvent(ev: KeyboardEvent): boolean
-
Parameters
Returns boolean
getNonStateKeys
- getNonStateKeys(keyArr: number[], stateKeys: IStateKey[]): Array<number>
-
Parameters
Returns Array<number>
isEqual
-
Parameters
Returns boolean
isStateKey
- isStateKey(key: number, stateKeys: IStateKey[]): boolean
-
Parameters
Returns boolean
Defines a Combo of keys