@Test public void testInit () { Events.managers = null; Events.init(); }
public static void init () { managers = new EventManager[NUM_THREADS]; for (int i = 0; i < NUM_THREADS; i++) { managers[i] = new EventManager("event manager #" + i + "", false); } }
Events { public static void init () { managers = new EventManager[NUM_THREADS]; for (int i = 0; i < NUM_THREADS; i++) { managers[i] = new EventManager("event manager #" + i + "", false); } } }
Events { public static void init () { managers = new EventManager[NUM_THREADS]; for (int i = 0; i < NUM_THREADS; i++) { managers[i] = new EventManager("event manager #" + i + "", false); } } protected  Events(); }
Events { public static void init () { managers = new EventManager[NUM_THREADS]; for (int i = 0; i < NUM_THREADS; i++) { managers[i] = new EventManager("event manager #" + i + "", false); } } protected  Events(); static void init(); static void queueEvent(EventData event); static void triggerEvent(EventData event); static void update(int threadID, int maxMillis); static void addListener(int threadID, ClientEvents event, EventListener listener); static void addListener(int threadID, int typeID, EventListener listener); static void removeListener(int threadID, int typeID, EventListener listener); }
Events { public static void init () { managers = new EventManager[NUM_THREADS]; for (int i = 0; i < NUM_THREADS; i++) { managers[i] = new EventManager("event manager #" + i + "", false); } } protected  Events(); static void init(); static void queueEvent(EventData event); static void triggerEvent(EventData event); static void update(int threadID, int maxMillis); static void addListener(int threadID, ClientEvents event, EventListener listener); static void addListener(int threadID, int typeID, EventListener listener); static void removeListener(int threadID, int typeID, EventListener listener); static final int UI_THREAD; static final int LOGIC_THREAD; static final int NETWORK_THREAD; }