dist/carrot.js
/**
     * Removes the given entity from a group.
     *
     * @method Carrot.Group#removeChild
     * @param {Carrot.Group | Carrot.Sprite} entity - The entity to remove.
     */
Removes the given entity from a group.
Removes the given entity from a group .
removeChild(entity)
    {
        if (entity.active)
        {
            this.children.splice(this.children.indexOf(entity), 1);
        }
        else
        {
            this.inactives.splice(this.inactives.indexOf(entity), 1);
        }
    }
removeChild ( entity ) { if ( entity . active ) { this . children . splice ( this . children . indexOf ( entity ) , 1 ) ; } else { this . inactives . splice ( this . inactives . indexOf ( entity ) , 1 ) ; } }
Removes the given entity from a group.
Removes the given entity from a group .