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