vooga.gameEngine.event
Class SizeChangedEvent

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

public class SizeChangedEvent
extends java.util.EventObject

Fired whenever a call to Tangible.setPosition(Position) is made.

Author:
Justin C. Klaassen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SizeChangedEvent(java.lang.Object source, Dimension d)
           
 
Method Summary
 Dimension getSize()
          Gives the Dimension associated with this SizeChangedEvent.
 
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

SizeChangedEvent

public SizeChangedEvent(java.lang.Object source,
                        Dimension d)
Method Detail

getSize

public Dimension getSize()
Gives the Dimension associated with this SizeChangedEvent.

Returns:
a copy of the Dimension