Class: Time

Carrot.Time(game)

Carrot.Time

Constructor

new Time(game)

The Time container stores the current time, the time the game has started at and the delta time for animating.
Parameters:
Name Type Description
game Carrot.Game The core game object.
Source: