Allow the occupant info to be different depending on the place.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4457 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-11-17 20:01:36 +00:00
parent c1e791d393
commit 776761aeef
2 changed files with 2 additions and 2 deletions
@@ -124,7 +124,7 @@ public class BodyObject extends ClientObject
* Creates a blank occupant info instance that will used to publish * Creates a blank occupant info instance that will used to publish
* information about the various bodies occupying a place. * information about the various bodies occupying a place.
*/ */
public OccupantInfo createOccupantInfo () public OccupantInfo createOccupantInfo (PlaceObject placeObject)
{ {
return new OccupantInfo(this); return new OccupantInfo(this);
} }
@@ -297,7 +297,7 @@ public class PlaceManager
{ {
try { try {
// create a new occupant info instance // create a new occupant info instance
OccupantInfo info = body.createOccupantInfo(); OccupantInfo info = body.createOccupantInfo(_plobj);
// insert the occupant info into our canonical table; this is done // insert the occupant info into our canonical table; this is done
// in a method so that derived classes // in a method so that derived classes