Renamed OccupantManager to OccupantDirector.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1239 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-04-15 14:38:46 +00:00
parent a6646a939a
commit f6fedf5bdf
10 changed files with 43 additions and 43 deletions
@@ -1,5 +1,5 @@
//
// $Id: OccupantManager.java,v 1.11 2002/03/18 23:21:25 mdb Exp $
// $Id: OccupantDirector.java,v 1.1 2002/04/15 14:38:45 shaper Exp $
package com.threerings.crowd.client;
@@ -15,8 +15,8 @@ import com.threerings.crowd.data.PlaceObject;
import com.threerings.crowd.util.CrowdContext;
/**
* The occupant manager listens for occupants of places to enter and exit,
* and dispatches notices to interested parties about these events.
* The occupant director listens for occupants of places to enter and
* exit, and dispatches notices to interested parties about these events.
*
* <p> It will eventually provide a framework for keeping track of
* occupant information in a network efficient manner. The idea being that
@@ -35,13 +35,13 @@ import com.threerings.crowd.util.CrowdContext;
* can update non-static occupant data rather than permanently using
* what's in the cache.
*/
public class OccupantManager
public class OccupantDirector
implements LocationObserver, SetListener
{
/**
* Constructs a new occupant manager with the supplied context.
* Constructs a new occupant director with the supplied context.
*/
public OccupantManager (CrowdContext ctx)
public OccupantDirector (CrowdContext ctx)
{
// register ourselves as a location observer
ctx.getLocationDirector().addLocationObserver(this);
@@ -1,5 +1,5 @@
//
// $Id: OccupantObserver.java,v 1.2 2001/10/11 04:07:51 mdb Exp $
// $Id: OccupantObserver.java,v 1.3 2002/04/15 14:38:45 shaper Exp $
package com.threerings.crowd.client;
@@ -8,7 +8,7 @@ import com.threerings.crowd.data.OccupantInfo;
/**
* 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 {@link OccupantManager}.
* this interface and register itself with the {@link OccupantDirector}.
*/
public interface OccupantObserver
{