Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 329 Bytes
class TargetScanner extends Routine {
Target targetScanner;
void setup(PApplet parent) {
super.setup(parent);
targetScanner = new Target();
}
void draw() {
background(0);
targetScanner.draw();
if (frameCount - modeFrameStart > FRAMERATE*TYPICAL_MODE_TIME) {
newMode();
}
}
}