Package org.freerealm.tile

Examples of org.freerealm.tile.TileTypeManager


     * @return CommandResult
     */
    public CommandResult execute(Realm realm) {
        realm.setResourceManager(new ResourceManager());
        realm.setBonusResourceManager(new BonusResourceManager());
        realm.setTileTypeManager(new TileTypeManager());
        realm.setVegetationManager(new VegetationManagerImpl());
        realm.setTileImprovementTypeManager(new TileImprovementTypeManager());
        realm.setSettlementImprovementManager(new SettlementImprovementManager());
        realm.setUnitTypeManager(new UnitTypeManager());
        realm.setNationManager(new NationManager());
View Full Code Here


        Node bonusResourcesNode = XMLConverterUtility.findNode(node, "bonusResources");
        BonusResourceManager bonusResourceManager = (new BonusResourceManagerXMLConverter()).initializeFromNode(realm, bonusResourcesNode);
        realm.setBonusResourceManager(bonusResourceManager);

        Node tileTypesNode = XMLConverterUtility.findNode(node, "TileTypes");
        TileTypeManager tileTypeManager = new TileTypeManager();
        (new TileTypeManagerXMLWrapper(tileTypeManager)).initializeFromNode(realm, tileTypesNode);
        realm.setTileTypeManager(tileTypeManager);

        Node tileImprovementsNode = XMLConverterUtility.findNode(node, "TileImprovements");
        TileImprovementTypeManager tileImprovementManager = (new TileImprovementManagerXMLConverter()).initializeFromNode(realm, tileImprovementsNode);
View Full Code Here

        realm.setResourceManager(resourceManager);

        BonusResourceManager bonusResourceManager = (new BonusResourceManagerXMLConverter()).initializeFromNode(realm, getRootNodeFromFile(configProperties.getProperty("bonus_resources_filename")));
        realm.setBonusResourceManager(bonusResourceManager);

        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);
View Full Code Here

TOP

Related Classes of org.freerealm.tile.TileTypeManager

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.