Constructor
new Keyboard(game)
This class handles all keyboard interactions.
Parameters:
| Name | Type | Description |
|---|---|---|
game |
Carrot.Game | The core game object. |
| Name | Type | Description |
|---|---|---|
game |
Carrot.Game | The core game object. |