/* * Main event loop */ public void Looper() { Event current; while ((current = EventList.nextEvent()) != null) { Time.SetClock(current.ETime); current.execEvent(); } }