code: public void doPlay(final Wave wave) {
          if (!this.playing) {
              this.playing = true;
              this.timeFrame = 0;
          }
          if (this.timeFrame < this.eventList.size() - 1) {
              showNext(this.eventList.get(this.timeFrame));
          } else {
              this.playing = false;
          }
      }
docs: Call when event play button is pressed.
  
  @param wave the wave received