Package com.threerings.stage.data

Examples of com.threerings.stage.data.StageScene


                }
                if (defloc == null) {
                    log.warning("Scene has no def. entrance '" + path + "'.");
                }

                _panel.setScene(new StageScene(model, null), defloc);
            }

        } catch (Exception e) {
            errmsg = "Error parsing scene file '" + path + "'.";
            log.warning(e);
View Full Code Here


    protected void newScene ()
    {
        try {
            StageSceneModel model = StageSceneModel.blankStageSceneModel();
            model.type = StageSceneModel.WORLD;
            setScene(new StageScene(model, null));

        } catch (Exception e) {
            log.warning("Unable to set blank scene.", e);
        }
    }
View Full Code Here

    {
        StageSceneModel model = (StageSceneModel)_parser.parseScene(path);
        if (model == null) {
            return false;
        }
        setScene(new StageScene(model, null));
        // keep track of the path for later saving
        setFilePath(path);
        return true;
    }
View Full Code Here

TOP

Related Classes of com.threerings.stage.data.StageScene

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.