|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OccupantObserver
An entity that is interested in hearing about bodies that enter and leave a location (as well
as disconnect and reconnect) can implement this interface and register itself with the
OccupantDirector.
| Method Summary | |
|---|---|
void |
occupantEntered(OccupantInfo info)
Called when a body enters the place. |
void |
occupantLeft(OccupantInfo info)
Called when a body leaves the place. |
void |
occupantUpdated(OccupantInfo oldinfo,
OccupantInfo newinfo)
Called when an occupant is updated. |
| Method Detail |
|---|
void occupantEntered(OccupantInfo info)
void occupantLeft(OccupantInfo info)
void occupantUpdated(OccupantInfo oldinfo,
OccupantInfo newinfo)
oldinfo - the occupant info prior to the update.newinfo - the newly update info record.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||