framework
Class GameEvent

java.lang.Object
  extended by java.util.EventObject
      extended by framework.GameEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GameEndEvent

public class GameEvent
extends EventObject

An event which indicates some game state change has occurred. At the moment, the only GameEvent is GameEndEvent.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GameEvent(Game game)
           
 
Method Summary
 Game getGame()
           
 
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(Game game)
Method Detail

getGame

public Game getGame()