buy(cost, rate) {
            if (this.clicks >= cost) {
                this.clicks -= cost
                this.clickRate += rate
                this._updateInnerText()
            }
        }
/**
         * Increases the auto click generation rate in exchange for a cost in clicks.
         * Used to buy a click purchase item.
         * @param {number} cost - Cost of an item in clicks
         * @param {number} rate - Rate of click production of an item in clicks/second
         */
Increases the auto click generation rate in exchange for a cost in clicks.
Used to buy a click purchase item.
@param {number} cost - Cost of an item in clicks
@param {number} rate - Rate of click production of an item in clicks/second
Increases the auto click generation rate in exchange for a cost in clicks . Used to buy a click purchase item . @param { number } cost - Cost of an item in clicks @param { number } rate - Rate of click production of an item in clicks / second
buy(cost, rate) {
            if (this.clicks >= cost) {
                this.clicks -= cost
                this.clickRate += rate
                this._updateInnerText()
            }
        }
buy ( cost , rate ) { if ( this . clicks >= cost ) { this . clicks -= cost this . clickRate += rate this . _updateInnerText ( ) } }
Increases the auto click generation rate in exchange for a cost in clicks.
Increases the auto click generation rate in exchange for a cost in clicks .