dist/carrot.js
/**
     * Removes the HTML element of this sprite. Called by {Carrot.Sprite}, kill or destroy.
     *
     * @method Carrot.Sprite#destroyNode
     */
Removes the HTML element of this sprite. Called by {Carrot.Sprite}, kill or destroy.
Removes the HTML element of this sprite . Called by { Carrot . Sprite } kill or destroy .
destroyNode()
    {
        if (this.image !== null)
        {
            this.image.parentNode.removeChild(this.image);
            this.image = null;
            this.style = null;
        }
    }
destroyNode ( ) { if ( this . image !== null ) { this . image . parentNode . removeChild ( this . image ) ; this . image = null ; this . style = null ; } }
Removes the HTML element of this sprite.
Removes the HTML element of this sprite .