Whether the controls are enabled or not.
E.g. KeyW = true
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Write your own onKeyDown function in your implementation.
Write your own onKeyUp function in your implementation.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Call this on every frame to update the controls.
Abstract class for all keyboard controls implementations.