Added a which().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2114 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-01-13 18:36:18 +00:00
parent db201a29bd
commit d02a247d76
2 changed files with 16 additions and 2 deletions
@@ -1,5 +1,5 @@
//
// $Id: GameObject.dobj,v 1.18 2002/10/29 02:09:03 shaper Exp $
// $Id: GameObject.dobj,v 1.19 2003/01/13 18:36:18 mdb Exp $
package com.threerings.parlor.game;
@@ -144,4 +144,11 @@ public class GameObject extends PlaceObject
}
return -1;
}
// documentation inherited
protected void which (StringBuffer buf)
{
super.which(buf);
StringUtil.toString(buf, players);
}
}
@@ -1,5 +1,5 @@
//
// $Id: GameObject.java,v 1.13 2002/10/29 02:09:03 shaper Exp $
// $Id: GameObject.java,v 1.14 2003/01/13 18:36:18 mdb Exp $
package com.threerings.parlor.game;
@@ -166,6 +166,13 @@ public class GameObject extends PlaceObject
return -1;
}
// documentation inherited
protected void which (StringBuffer buf)
{
super.which(buf);
StringUtil.toString(buf, players);
}
/**
* Requests that the <code>gameService</code> field be set to the specified
* value. The local value will be updated immediately and an event