org.concord.collisions.event
Class CollisionsEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.concord.collisions.event.CollisionsEvent
All Implemented Interfaces:
java.io.Serializable

public class CollisionsEvent
extends java.util.EventObject

See Also:
Serialized Form

Field Summary
protected  java.lang.Object collidedObject
           
protected  int id
           
protected  long when
           
protected  int x
           
protected  int y
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CollisionsEvent(java.lang.Object source, java.lang.Object collidedObject, int id, long when, int x, int y)
           
 
Method Summary
 java.lang.Object getCollidedObject()
           
 int getID()
           
 long getWhen()
           
 int getX()
           
 int getY()
           
 
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
 

Field Detail

collidedObject

protected java.lang.Object collidedObject

id

protected int id

x

protected int x

y

protected int y

when

protected long when
Constructor Detail

CollisionsEvent

public CollisionsEvent(java.lang.Object source,
                       java.lang.Object collidedObject,
                       int id,
                       long when,
                       int x,
                       int y)
Method Detail

getCollidedObject

public java.lang.Object getCollidedObject()

getID

public int getID()

getWhen

public long getWhen()

getX

public int getX()

getY

public int getY()