Package com.threerings.whirled.spot.data

Examples of com.threerings.whirled.spot.data.ClusterObject


                continue;
            }

            if (trect.intersects(rect)) {
                // make sure this person isn't already in our cluster
                ClusterObject clobj = clrec.getClusterObject();
                if (clobj != null && clobj.occupants.contains(bodyOid)) {
                    log.warning("Ignoring stale occupant [where=" + where() +
                                ", cluster=" + cl + ", occ=" + bodyOid + "].");
                    continue;
                }
View Full Code Here


     */
    protected class ClusterRecord extends HashIntMap<ClusteredBodyObject>
    {
        public ClusterRecord ()
        {
            _clobj = _omgr.registerObject(new ClusterObject());
            _clusters.put(_clobj.getOid(), this);

            // let any mapped users know about our cluster
            for (ClusteredBodyObject body : values()) {
                body.setClusterOid(_clobj.getOid());
View Full Code Here

TOP

Related Classes of com.threerings.whirled.spot.data.ClusterObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.