InputHandler. KeyInput

Static inner class of InputHandler for tracking Key input types.

Constructor

new KeyInput(keyCode, func, isMouseDown)

Parameters:
NameTypeDefaultDescription
keyCodekeyCode

activation key code

funcfunction

action to be performed

isMouseDownBooleanfalse

determines whether activation requires mouseDown