Beispiel #1
0
 public static void refreshUI() {
   synchronized (instance) {
     if (!instance.refreshScheduled) {
       instance.refreshScheduled = true;
       instance.eventRunner.perform(instance.refresh);
     }
   }
 }
Beispiel #2
0
 /** stops Engine */
 public static void kill() {
   if (instance == null) return;
   Timer.kill();
   instance.end = true;
 }