Examples of BodyObject


Examples of com.threerings.crowd.data.BodyObject

                    log.warning("Unable to create simulant", "class", _simClass);
                    return;
                }

                // give the simulant its body
                BodyObject bobj = (BodyObject)_sims.get(ii - 1);
                sim.init(bobj, _config, _gmgr, _omgr);

                // give the simulant a chance to engage in place antics
                sim.willEnterPlace(_gobj);
View Full Code Here

Examples of com.threerings.crowd.data.BodyObject

    // documentation inherited from TourneyProvider
    public void join (ClientObject caller, final InvocationService.ConfirmListener listener)
        throws InvocationException
    {
        BodyObject body = (BodyObject)caller;

        // make sure the tourney hasn't already started
        if (_trobj.state != TourneyObject.PENDING) {
            throw new InvocationException(TOO_LATE);
        }
View Full Code Here

Examples of com.threerings.crowd.data.BodyObject

    // documentation inherited from TourneyProvider
    public void leave (ClientObject caller, InvocationService.ConfirmListener listener)
        throws InvocationException
    {
        BodyObject body = (BodyObject)caller;

        // can't leave unless the tourney is just pending
        if (_trobj.state != TourneyObject.PENDING) {
            throw new InvocationException(TOO_LATE_LEAVE);
        }
View Full Code Here

Examples of com.threerings.crowd.data.BodyObject

        notifyAllParticipants(cause);

        // return the fees
        if (_trobj.config.entryFee != null) {
            for (Participant part : _trobj.participants) {
                BodyObject body = _locator.lookupBody(part.username);
                if (body != null) {
                    _trobj.config.entryFee.returnFee(body);
                }
            }
        }
View Full Code Here

Examples of com.threerings.crowd.data.BodyObject

        if (!(caller instanceof BodyObject)) {
            log.warning("Request to switch zones by non-BodyObject " +
                        "[clobj=" + caller.getClass() + "].");
            throw new InvocationException(ZoneCodes.INTERNAL_ERROR);
        }
        BodyObject body = (BodyObject)caller;

        PeerZoneMoveHandler handler = createMoveHandler(_locman, getZoneManager(zoneId),
            _screg, body, sceneId, sceneVer, listener);

        resolvePeerZone(zoneId, handler);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.