dist/carrot.js
/**
     * The internal render loop of the camera. It is managed automatically by {@link Carrot.World}.
     *
     * @method Carrot.Camera#_render
     * @private
     */
The internal render loop of the camera. It is managed automatically by  Carrot.World.
The internal render loop of the camera . It is managed automatically by Carrot . World .
_render()
    {
        if (this.x !== this._x || this.y !== this._y)
        {
            this.game.parent.style.left = -this.x + "px";
            this.game.parent.style.top = -this.y + "px";
        }
    }
_render ( ) { if ( this . x !== this . _x || this . y !== this . _y ) { this . game . parent . style . left = - this . x + "px" ; this . game . parent . style . top = - this . y + "px" ; } }
The internal render loop of the camera.
The internal render loop of the camera .
// Transform the game div according to the camera. // But only if the position has changed.