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: ChatPanel.java,v 1.12 2002/02/26 05:48:11 mdb Exp $
// $Id: ChatPanel.java,v 1.13 2002/04/15 14:38:45 shaper Exp $
package com.threerings.micasa.client;
@@ -59,7 +59,7 @@ public class ChatPanel
_chatdtr.addChatDisplay(this);
// register as an occupant observer
_ctx.getOccupantManager().addOccupantObserver(this);
_ctx.getOccupantDirector().addOccupantObserver(this);
GroupLayout gl = new VGroupLayout(GroupLayout.STRETCH);
gl.setOffAxisPolicy(GroupLayout.STRETCH);
@@ -1,5 +1,5 @@
//
// $Id: MiCasaClient.java,v 1.11 2002/03/28 22:32:31 mdb Exp $
// $Id: MiCasaClient.java,v 1.12 2002/04/15 14:38:45 shaper Exp $
package com.threerings.micasa.client;
@@ -15,7 +15,7 @@ import com.threerings.presents.client.Client;
import com.threerings.presents.dobj.DObjectManager;
import com.threerings.crowd.client.LocationDirector;
import com.threerings.crowd.client.OccupantManager;
import com.threerings.crowd.client.OccupantDirector;
import com.threerings.crowd.client.PlaceView;
import com.threerings.parlor.client.ParlorDirector;
@@ -99,7 +99,7 @@ public class MiCasaClient
// create our managers and directors
_locdir = new LocationDirector(_ctx);
_occmgr = new OccupantManager(_ctx);
_occdir = new OccupantDirector(_ctx);
_pardtr = new ParlorDirector(_ctx);
_msgmgr = new MessageManager(MESSAGE_MANAGER_PREFIX);
}
@@ -142,9 +142,9 @@ public class MiCasaClient
return _locdir;
}
public OccupantManager getOccupantManager ()
public OccupantDirector getOccupantDirector ()
{
return _occmgr;
return _occdir;
}
public ParlorDirector getParlorDirector ()
@@ -174,7 +174,7 @@ public class MiCasaClient
protected Client _client;
protected LocationDirector _locdir;
protected OccupantManager _occmgr;
protected OccupantDirector _occdir;
protected ParlorDirector _pardtr;
protected MessageManager _msgmgr;
@@ -1,5 +1,5 @@
//
// $Id: OccupantList.java,v 1.5 2002/03/18 23:21:26 mdb Exp $
// $Id: OccupantList.java,v 1.6 2002/04/15 14:38:45 shaper Exp $
package com.threerings.micasa.client;
@@ -35,7 +35,7 @@ public class OccupantList
_ctx = ctx;
// register ourselves as an occupant observer
_ctx.getOccupantManager().addOccupantObserver(this);
_ctx.getOccupantDirector().addOccupantObserver(this);
}
// documentation inherited
@@ -1,5 +1,5 @@
//
// $Id: SimpleClient.java,v 1.3 2002/03/28 22:32:32 mdb Exp $
// $Id: SimpleClient.java,v 1.4 2002/04/15 14:38:45 shaper Exp $
package com.threerings.micasa.simulator.client;
@@ -15,7 +15,7 @@ import com.threerings.presents.client.Client;
import com.threerings.presents.dobj.DObjectManager;
import com.threerings.crowd.client.LocationDirector;
import com.threerings.crowd.client.OccupantManager;
import com.threerings.crowd.client.OccupantDirector;
import com.threerings.crowd.client.PlaceView;
import com.threerings.parlor.client.ParlorDirector;
@@ -38,7 +38,7 @@ public class SimpleClient
// create our managers and directors
_locdir = new LocationDirector(_ctx);
_occmgr = new OccupantManager(_ctx);
_occdir = new OccupantDirector(_ctx);
_pardtr = new ParlorDirector(_ctx);
// for test purposes, hardcode the server info
@@ -95,9 +95,9 @@ public class SimpleClient
return _locdir;
}
public OccupantManager getOccupantManager ()
public OccupantDirector getOccupantDirector ()
{
return _occmgr;
return _occdir;
}
public ParlorDirector getParlorDirector ()
@@ -117,7 +117,7 @@ public class SimpleClient
protected Client _client;
protected LocationDirector _locdir;
protected OccupantManager _occmgr;
protected OccupantDirector _occdir;
protected ParlorDirector _pardtr;
}