edu.cmu.emulator.event
Class EventGlobals

java.lang.Object
  extended by edu.cmu.emulator.event.EventGlobals

public class EventGlobals
extends Object

EventGlobals removes the need for certain event classes to store/pass around references to global entities. These should not be used outside of the event package.


Field Summary
(package private) static DaemonCommunicator dc
           
(package private) static boolean debug
           
(package private) static EmuEventQueue eventQueue
           
(package private) static MethodCaller methodCaller
           
(package private) static ScriptController scriptController
           
(package private) static EmuWorld world
           
 
Constructor Summary
EventGlobals()
           
 
Method Summary
static void initGlobals(EmuEventQueue newEventQueue, ScriptController newScriptController)
           
static void setDaemonCommunicator(DaemonCommunicator newDC)
           
static void setWorld(EmuWorld newWorld)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

methodCaller

static MethodCaller methodCaller

debug

static final boolean debug
See Also:
Constant Field Values

eventQueue

static EmuEventQueue eventQueue

world

static EmuWorld world

scriptController

static ScriptController scriptController

dc

static DaemonCommunicator dc
Constructor Detail

EventGlobals

public EventGlobals()
Method Detail

setWorld

public static void setWorld(EmuWorld newWorld)

setDaemonCommunicator

public static void setDaemonCommunicator(DaemonCommunicator newDC)

initGlobals

public static void initGlobals(EmuEventQueue newEventQueue,
                               ScriptController newScriptController)


Copyright © 2013. All Rights Reserved.