dist/carrot.js
/**
     * The internal update loop of the time object. It is managed automatically by {@link Carrot.Game}.
     * @method Carrot.Time#_update
     * @private
     */
The internal update loop of the time object. It is managed automatically by  Carrot.Game.
The internal update loop of the time object . It is managed automatically by Carrot . Game .
_update(delta)
    {
        this.lastFrame = this.now;
        this.now = performance.now();
        this.lastFrame = this.now - this.lastFrame;
        this.delta = delta / 1000;
        for (let i = 0; i < this.timers.length; i++)
        {
            let timer = this.timers[i];
            timer._update(this.lastFrame);
        }
    }
_update ( delta ) { this . lastFrame = this . now ; this . now = performance . now ( ) ; this . lastFrame = this . now - this . lastFrame ; this . delta = delta / 1000 ; for ( let i = 0 ; i < this . timers . length ; i ++ ) { let timer = this . timers [ i ] ; timer . _update ( this . lastFrame ) ; } }
The internal update loop of the time object.
The internal update loop of the time object .
// Update timers