Initial version.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1839 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
//
|
||||||
|
// $Id: OccupantAdapter.java,v 1.1 2002/10/27 02:03:40 shaper Exp $
|
||||||
|
|
||||||
|
package com.threerings.crowd.client;
|
||||||
|
|
||||||
|
import com.threerings.crowd.data.OccupantInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
public class OccupantAdapter implements OccupantObserver
|
||||||
|
{
|
||||||
|
// documentation inherited from interface
|
||||||
|
public void occupantEntered (OccupantInfo info)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// documentation inherited from interface
|
||||||
|
public void occupantLeft (OccupantInfo info)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// documentation inherited from interface
|
||||||
|
public void occupantUpdated (OccupantInfo oinfo, OccupantInfo info)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user