Package com.threerings.crowd.server

Examples of com.threerings.crowd.server.OccupantOp


    protected void notifyCardsTransferred (
        final int fromPlayerIdx, final int toPlayerIdx, final int cards)
    {
        final int senderOid = _playerOids[fromPlayerIdx],
            receiverOid = _playerOids[toPlayerIdx];
        OccupantOp op = new OccupantOp() {
            public void apply (OccupantInfo info) {
                int oid = info.getBodyOid();
                if (oid != senderOid && oid != receiverOid) {
                    ClientObject client = (ClientObject)_omgr.getObject(oid);
                    if (client != null) {
View Full Code Here

TOP

Related Classes of com.threerings.crowd.server.OccupantOp

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.