Package com.threerings.miso.client

Examples of com.threerings.miso.client.SceneBlock.addObject()


    {
        // first attempt to add it to the appropriate scene block; this
        // will fail if there's already a copy of the same object at this
        // coordinate
        SceneBlock block = getBlock(oinfo.x, oinfo.y);
        if (block== null || !block.isResolved() || block.addObject(oinfo)) {
            // create an object info and add it to the scene model
            if (_model.addObject(oinfo)) {
                // recompute our visible object set
                recomputeVisible();
                return oinfo;
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.