|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.crowd.client.OccupantAdapter
public class OccupantAdapter
The occupant adapter makes life easier for occupant observer classes that only care about one or two of the occupant observer callbacks. They can either extend occupant adapter or create an anonymous class that extends it and overrides just the callbacks they care about.
| Constructor Summary | |
|---|---|
OccupantAdapter()
|
|
| 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 oinfo,
OccupantInfo info)
Called when an occupant is updated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OccupantAdapter()
| Method Detail |
|---|
public void occupantEntered(OccupantInfo info)
OccupantObserver
occupantEntered in interface OccupantObserverpublic void occupantLeft(OccupantInfo info)
OccupantObserver
occupantLeft in interface OccupantObserver
public void occupantUpdated(OccupantInfo oinfo,
OccupantInfo info)
OccupantObserver
occupantUpdated in interface OccupantObserveroinfo - the occupant info prior to the update.info - the newly update info record.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||