infpp.oceanlife
Class PositionChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by infpp.oceanlife.PositionChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class PositionChangedEvent
extends java.util.EventObject

Author:
tdu, akue
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PositionChangedEvent(OceanObject source, java.awt.Point oldPosition)
           
 
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

PositionChangedEvent

public PositionChangedEvent(OceanObject source,
                            java.awt.Point oldPosition)
Parameters:
the - source ocean object
old - position of the ocean object