Package org.freerealm.player

Examples of org.freerealm.player.PlayerManager


        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);
        realm.setNumberOfTurns(0);
View Full Code Here


        NationManager nationManager = new NationManager();
        (new NationManagerXMLWrapper(nationManager)).initializeFromNode(realm, nationsNode);
        realm.setNationManager(nationManager);

        Node playersNode = XMLConverterUtility.findNode(node, "Players");
        PlayerManager playerManager = new PlayerManager();
        (new PlayerManagerXMLWrapper(playerManager)).initializeFromNode(realm, playersNode);
        realm.setPlayerManager(playerManager);

        Node diplomacyNode = XMLConverterUtility.findNode(node, "diplomacy");
        Diplomacy diplomacy = (new DiplomacyXMLConverter()).initializeFromNode(realm, diplomacyNode);
View Full Code Here

        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);
        realm.setHistory(new FreeRealmHistory());
    }
View Full Code Here

TOP

Related Classes of org.freerealm.player.PlayerManager

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.