Be speaker aware. Big brother loves us.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2655 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-06-14 00:55:40 +00:00
parent 61168c737c
commit f1ac86936e
6 changed files with 72 additions and 6 deletions
@@ -1,18 +1,29 @@
//
// $Id: ClusterObject.dobj,v 1.2 2003/02/12 07:23:31 mdb Exp $
// $Id: ClusterObject.dobj,v 1.3 2003/06/14 00:55:40 mdb Exp $
package com.threerings.whirled.spot.data;
import com.threerings.presents.dobj.DObject;
import com.threerings.presents.dobj.OidList;
import com.threerings.crowd.chat.data.SpeakObject;
/**
* Used to dispatch chat in clusters.
*/
public class ClusterObject extends DObject
implements SpeakObject
{
/**
* Tracks the oid of the body objects that occupy this cluster.
*/
public OidList occupants = new OidList();
// documentation inherited
public void applyToListeners (ListenerOp op)
{
for (int ii = 0, ll = occupants.size(); ii < ll; ii++) {
op.apply(occupants.get(ii));
}
}
}