vooga.gameEngine.event
Class AddGameObjectEvent

java.lang.Object
  extended by java.util.EventObject
      extended by vooga.gameEngine.event.AddGameObjectEvent
All Implemented Interfaces:
java.io.Serializable

public class AddGameObjectEvent
extends java.util.EventObject

An EventObject used to have a GameRelatedObject signal that it would like to add a GameItem to the game which is running. For example an alien in space invaders might signify that it wants to add a laser object to be shot.

Author:
Geoffrey Lawler
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AddGameObjectEvent(java.lang.Object o)
          Default constructor for AddGameObjectEvent.
 
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

AddGameObjectEvent

public AddGameObjectEvent(java.lang.Object o)
Default constructor for AddGameObjectEvent.

Parameters:
o - is the Object which should be added to the game