sdl.event
Class EventDispatcher
java.lang.Object
|
+--sdl.event.EventDispatcher
- All Implemented Interfaces:
- java.lang.Runnable
- public class EventDispatcher
- extends java.lang.Object
- implements java.lang.Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventDispatcher
public EventDispatcher(boolean shouldBeDaemon)
startItNow
public void startItNow()
startAndWait
public void startAndWait()
eventState
public int eventState(int type,
int state)
pollEvent
public SDLCustomEvent pollEvent()
registerEventListener
public boolean registerEventListener(EventListener listener)
unregisterEventListener
public boolean unregisterEventListener(EventListener listener)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
SDLPushEvent
public int SDLPushEvent(SDLCustomEvent ce)
SDLWaitEvent
public int SDLWaitEvent()