|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface WorldListener is for objects that want to hear about changes in the world state.
World
,
WorldEvent
Method Summary | |
void |
ballLeft(WorldEvent event)
invoked when a ball leaves the world for another. |
void |
componentAdded(WorldEvent event)
invoked when a component is added to the world. |
void |
componentRemoved(WorldEvent event)
invoked when a component is removed from the world. |
Method Detail |
public void componentAdded(WorldEvent event)
event
- contains basic details of component that
was added.public void componentRemoved(WorldEvent event)
event
- contains basic details of component that
was added.public void ballLeft(WorldEvent event)
event
- contains basic details of ball that left.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |