Package com.threerings.whirled.tools.xml

Examples of com.threerings.whirled.tools.xml.SceneParser


    @Override
    public void runTest ()
    {
        try {
            SceneParser parser = new SceneParser("scene");
            parser.registerAuxRuleSet(new SpotSceneRuleSet() {
                @Override
                protected Location createLocation () {
                    return new StageLocation(); // breaks package, but ok
                }
            });
            String tspath = TestUtil.getResourcePath(TEST_SCENE_PATH);
            SceneModel scene = parser.parseScene(tspath);
            System.out.println("Parsed " + scene + ".");

        } catch (Exception e) {
            e.printStackTrace();
            fail("Test threw exception");
View Full Code Here

TOP

Related Classes of com.threerings.whirled.tools.xml.SceneParser

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.