org.concord.collisions.event
Class AreaEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.concord.collisions.event.AreaEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class AreaEvent
- extends java.util.EventObject
- See Also:
- Serialized Form
Field Summary |
protected int |
height
|
protected int |
id
|
protected long |
when
|
protected int |
width
|
protected int |
x
|
protected int |
y
|
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
protected int x
y
protected int y
width
protected int width
height
protected int height
when
protected long when
id
protected int id
AreaEvent
public AreaEvent(JWorldElement source,
int x,
int y,
int width,
int height)
AreaEvent
public AreaEvent(JWorldElement source,
int id,
int x,
int y,
int width,
int height)
getWhen
public long getWhen()
getX
public int getX()
getY
public int getY()
getWidth
public int getWidth()
getHeight
public int getHeight()
setX
public void setX(int x)
setY
public void setY(int y)
setWidth
public void setWidth(int width)
setHeight
public void setHeight(int height)
setVisitor
public void setVisitor(JWorldElement source)
getID
public int getID()
setID
public void setID(int id)
getSource
public java.lang.Object getSource()
- Overrides:
getSource
in class java.util.EventObject
setSource
public void setSource(java.lang.Object source)
getVisitor
public JWorldElement getVisitor()