The key to listen to events on
The playerClient instance that the input is bound to
Whether or key is currently down
Key that the input is bound to
Whether or not the input is sleeping (waiting for the player to be ready)
Socket.io socket to emit events on
Static
activeActivates the input (called when playerClient is ready)
PlayerClient instance to activate the input on
Generated using TypeDoc
Classdesc
MultiPlayerClientInput class, used for handling input on the client side of a multiplayer game
Static
activeInputs - Array of all active inputs
Example