stopEvent(id, duration) {
    setTimeout(() => {
      const currentEvent = this.eventList[id];
      ui.removeEvents(id);
      currentEvent.active = false;
      clickerApp.calculateEventBonuses(-currentEvent.multiply, 0);
    }, duration);
  }
// stops event after specified amount of time
stops event after specified amount of time
stops event after specified amount of time
stopEvent(id, duration) {
    setTimeout(() => {
      const currentEvent = this.eventList[id];
      ui.removeEvents(id);
      currentEvent.active = false;
      clickerApp.calculateEventBonuses(-currentEvent.multiply, 0);
    }, duration);
  }
stopEvent ( id , duration ) { setTimeout ( ( ) => { const currentEvent = this . eventList [ id ] ; ui . removeEvents ( id ) ; currentEvent . active = false ; clickerApp . calculateEventBonuses ( - currentEvent . multiply , 0 ) ; } , duration ) ; }
stops event after specified amount of time
stops event after specified amount of time