Annotation Interface OnKeyAction
Annotates a field that calls a method if a key is pressed or released.
Expects to call a method that takes both a
KeyType and a boolean parameter; an error will be thrown if this is not the case.
The KeyType is the key the action happened on, and the boolean is true on press and false on release.
- Author:
- Matthew Tropiano