-
Notifications
You must be signed in to change notification settings - Fork 0
/
timers.pde
37 lines (31 loc) · 1.03 KB
/
timers.pde
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
public void timespokenaction(GTimer source) { //_CODE_:timespoken:449875:
println("timer1 - GTimer >> an event occured @ " + millis());
positionarray.get(numspeak).setSpeaktime(positionarray.get(numspeak).getSpeaktime() + 1);
println(spokentimer);
spokentimer++;
if(spokentimer >= spokentimermax){
timespoken.stop();
spokentimertimer.stop();
}
totaltimespoken++;
} //_CODE_:timespoken:449875:
public void modcaucustimeaction(GTimer source) { //_CODE_:modcaucustime:275214:
println("modcaucustime - GTimer >> an event occured @ " + millis());
println(caucustimer);
caucustimertimer.start();
caucustimer++;
if(caucustimer >= caucustimermax){
modcaucustime.stop();
caucustimertimer.stop();
}
} //_CODE_:modcaucustime:275214:
public void minutelyaction(GTimer source) {
println("Minute save");
save();
}
public void spokentimertimer(GTimer source) {
spokentimertimerincrementor++;
}
public void caucustimertimer(GTimer source) {
caucustimertimerincrementor++;
}