edu.uiuc.cs397rhc.game
Class GameEvent

java.lang.Object
  extended by java.util.EventObject
      extended by edu.uiuc.cs397rhc.game.GameEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AbilityEvent, MoodEvent, ScoreEvent

public class GameEvent
extends java.util.EventObject

Generic class representing game-related events. This class should probably not ever be directly instantiated, since it cannot by itself convey any information about what has happened in the game.

Author:
Steven N. Severinghaus
See Also:
AbilityEvent, MoodEvent, ScoreEvent, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GameEvent(java.lang.Object source)
          Constructs a game event coming from the specified source.
 
Method Summary
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GameEvent

public GameEvent(java.lang.Object source)
Constructs a game event coming from the specified source.

Parameters:
source - the source of the game event