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:
@@ -124,7 +124,7 @@ public class BodyObject extends ClientObject
|
||||
* Creates a blank occupant info instance that will used to publish
|
||||
* information about the various bodies occupying a place.
|
||||
*/
|
||||
public OccupantInfo createOccupantInfo ()
|
||||
public OccupantInfo createOccupantInfo (PlaceObject placeObject)
|
||||
{
|
||||
return new OccupantInfo(this);
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ public class PlaceManager
|
||||
{
|
||||
try {
|
||||
// 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
|
||||
// in a method so that derived classes
|
||||
|
||||
Reference in New Issue
Block a user