Package org.freerealm.vegetation

Examples of org.freerealm.vegetation.VegetationManager


        Node tileImprovementsNode = XMLConverterUtility.findNode(node, "TileImprovements");
        TileImprovementTypeManager tileImprovementManager = (new TileImprovementManagerXMLConverter()).initializeFromNode(realm, tileImprovementsNode);
        realm.setTileImprovementTypeManager(tileImprovementManager);

        Node vegetationTypesNode = XMLConverterUtility.findNode(node, "VegetationTypes");
        VegetationManager vegetationManager = (new VegetationManagerImplXMLConverter()).initializeFromNode(realm, vegetationTypesNode);
        realm.setVegetationManager(vegetationManager);

        (new TileTypeManagerXMLWrapper(tileTypeManager)).initializeFromNode(realm, tileTypesNode);
        realm.setTileTypeManager(tileTypeManager);
View Full Code Here


        TileTypeManager tileTypeManager = new TileTypeManager();
        (new TileTypeManagerXMLWrapper(tileTypeManager)).initializeFromNode(realm, getRootNodeFromFile(configProperties.getProperty("tiletypes_filename")));
        realm.setTileTypeManager(tileTypeManager);

        VegetationManager vegetationManager = (new VegetationManagerImplXMLConverter()).initializeFromNode(realm, getRootNodeFromFile(configProperties.getProperty("vegetation_filename")));
        realm.setVegetationManager(vegetationManager);

        TileImprovementTypeManager tileImprovementManager = (new TileImprovementManagerXMLConverter()).initializeFromNode(realm, getRootNodeFromFile(configProperties.getProperty("tile_improvements_filename")));
        realm.setTileImprovementTypeManager(tileImprovementManager);
View Full Code Here

TOP

Related Classes of org.freerealm.vegetation.VegetationManager

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.