Package org.freerealm.nation

Examples of org.freerealm.nation.NationManager


        realm.setTileTypeManager(new TileTypeManager());
        realm.setVegetationManager(new VegetationManagerImpl());
        realm.setTileImprovementTypeManager(new TileImprovementTypeManager());
        realm.setSettlementImprovementManager(new SettlementImprovementManager());
        realm.setUnitTypeManager(new UnitTypeManager());
        realm.setNationManager(new NationManager());
        realm.setPlayerManager(new PlayerManager());
        realm.setDiplomacy(new Diplomacy());
        realm.setHistory(new FreeRealmHistory());
        realm.setWorldMap(new WorldMap());
        realm.setPathFinder(null);
View Full Code Here


        UnitTypeManager unitTypeManager = new UnitTypeManager();
        (new UnitTypeManagerXMLWrapper(unitTypeManager)).initializeFromNode(realm, unitTypesNode);
        realm.setUnitTypeManager(unitTypeManager);

        Node nationsNode = XMLConverterUtility.findNode(node, "Nations");
        NationManager nationManager = new NationManager();
        (new NationManagerXMLWrapper(nationManager)).initializeFromNode(realm, nationsNode);
        realm.setNationManager(nationManager);

        Node playersNode = XMLConverterUtility.findNode(node, "Players");
        PlayerManager playerManager = new PlayerManager();
View Full Code Here

        UnitTypeManager unitTypeManager = new UnitTypeManager();
        (new UnitTypeManagerXMLWrapper(unitTypeManager)).initializeFromNode(realm, getRootNodeFromFile(configProperties.getProperty("unittypes_filename")));
        realm.setUnitTypeManager(unitTypeManager);

        NationManager nationManager = new NationManager();
        (new NationManagerXMLWrapper(nationManager)).initializeFromNode(realm, getRootNodeFromFile(configProperties.getProperty("nations_filename")));
        realm.setNationManager(nationManager);
        realm.setPlayerManager(new PlayerManager());
        realm.setDiplomacy(new Diplomacy());
        realm.setNumberOfTurns(0);
View Full Code Here

TOP

Related Classes of org.freerealm.nation.NationManager

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.