public class DestructionEvent extends EventObject
Body.source| Constructor and Description |
|---|
DestructionEvent(Body source)
Initialise a new DestructionEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
Body |
getSource()
The event source (the body being destroyed).
|
toStringpublic DestructionEvent(Body source)
source - the event source (the body being destroyed)public Body getSource()
getSource in class EventObject