public void play(Dance dance) { this.dance = dance; clock = new Timer(dance.getTempo(), this); clock.start(); beatCount = 0; }