Class: Keyboard

Carrot.Keyboard(game)

Carrot.Keyboard

Constructor

new Keyboard(game)

This class handles all keyboard interactions.
Parameters:
Name Type Description
game Carrot.Game The core game object.
Source: