Package com.threerings.whirled.spot.data

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


            StageSceneModel model = (StageSceneModel)parser.parseScene(path);
            if (model == null) {
                errmsg = "No scene found in scene file '" + path + "'.";

            } else {
                SpotSceneModel ssmodel = SpotSceneModel.getSceneModel(model);
                Location defloc = null;
                // find the default entrance to this scene
                for (Portal port : ssmodel.portals) {
                    if (port.portalId == ssmodel.defaultEntranceId) {
                        defloc = port.getOppLocation();
View Full Code Here


     * Populates a blank scene model with blank values.
     */
    protected static void populateBlankStageSceneModel (StageSceneModel model)
    {
        populateBlankSceneModel(model);
        model.addAuxModel(new SpotSceneModel());
        model.addAuxModel(new StageMisoSceneModel());
    }
View Full Code Here

    // documentation inherited from interface
    public void write (Object object, DataWriter writer)
        throws SAXException
    {
        SpotSceneModel model = (SpotSceneModel)object;
        AttributesImpl attrs = new AttributesImpl();
        addSceneAttributes(model, attrs);
        writer.startElement("", OUTER_ELEMENT, "", attrs);
        writeSceneData(model, writer);
        writer.endElement(OUTER_ELEMENT);
View Full Code Here

TOP

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

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.