class Timer { float counter; // count up seconds float speed; int subtcount; subtitle s; PlayButton play; BackButton back; hslider speedslider; Timer() { play = new PlayButton(width-70,height-39,50,30,15); back = new BackButton(12,height-35,25,15,10); speedslider = new hslider("SPEED", width-136, height-30, 2, 0.1, 15, 50, 8); } void start(float sp) { speedslider.currvalue = (int) sp; speedslider.reset(); subtcount = 0; speed = sp; s = (subtitle) m.lines.get(0); counter = s.start.seconds; drawers.filterin(s.txt); } void go() { if(play.playing) { if(counternext.start.seconds) { subtcount++; newsubt = true; if(subtcount