new Key()
Key is used by Keyboard, Pointer, etc, to represent a key state.
- Source:
Members
justPressed
Indicates if this key was just pressed.
- Source:
justReleased
Indicates if this key was just released.
- Source:
pressed
Indicates if this key is currently pressed.
- Source:
Methods
reset()
Reset key to default values.
- Source:
set()
Set this key attributes manually.
- Source:
update()
Update Key status based on new key state.
- Source: