Anonym
public text v1 · immutable /**
* This sleeps for the specified tick rate and then calls makeATick()
*/
public void run() {
this.isRunning = true;
while(true && this.isRunning) {
this.makeATick();
try {
Thread.sleep(this.tickRate);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}