dist/carrot.js
/**
    * Enables physics on a sprite by adding a physics body to it.
    *
    * @method Carrot.Physics#enable
    * @param {Carrot.Sprite} entity - The sprite to get its physics enabled.
    */
Enables physics on a sprite by adding a physics body to it.
@method Carrot.Physics#enable
@param {Carrot.Sprite} entity - The sprite to get its physics enabled.
Enables physics on a sprite by adding a physics body to it . @method Carrot . Physics#enable @param { Carrot . Sprite } entity - The sprite to get its physics enabled .
enable(entity)
    {
        if (entity.body === null)
        {
            entity.body = new Carrot.Physics.Body(entity);
        }
    }
enable ( entity ) { if ( entity . body === null ) { entity . body = new Carrot . Physics . Body ( entity ) ; } }
Enables physics on a sprite by adding a physics body to it.
Enables physics on a sprite by adding a physics body to it .