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