jaige.event
Class EventManager

java.lang.Object
  extended by jaige.event.EventManager
All Implemented Interfaces:
java.lang.Runnable

public class EventManager
extends java.lang.Object
implements java.lang.Runnable

Title: EventManager

Description:

Copyright: Copyright (c) 2007

Version:
1.0
Author:
Rob Taft

Method Summary
static void addListener(GameListener lis)
           
static void fireEvent(GameEvent e)
          //!rrt PROTECT AGAINST OTHER CLASSES TRIGGERING EVENTS THAT ARE NOT WANTED!!
static void removeAllListeners(EventType type)
           
static void removeListener(GameListener lis)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addListener

public static void addListener(GameListener lis)

removeListener

public static void removeListener(GameListener lis)

removeAllListeners

public static void removeAllListeners(EventType type)

fireEvent

public static void fireEvent(GameEvent e)
//!rrt PROTECT AGAINST OTHER CLASSES TRIGGERING EVENTS THAT ARE NOT WANTED!!


run

public void run()
Specified by:
run in interface java.lang.Runnable