Ejemplo n.º 1
0
        public void Initialize()
        {
            GameObjectsManager.Initialize();
            ImageManager.Initialize();
            TimeManager.Initialize();

            SaveLoadService = new SaveLoadService();
            SaveLoadService.Initialize();

            ConfigurationService = new ConfigurationService();
            ConfigurationService.Initialize();
            BuyPriceDictionaryService = new BuyPriceDictionaryService();
            BuyPriceDictionaryService.Initialize();
            SellPriceDictionaryService = new SellPriceDictionaryService();
            SellPriceDictionaryService.Initialize();
            // before trade need to know a price
            TradeService = new TradeService();
            TradeService.Initialize();
            MoneyService = new MoneyService();
            MoneyService.Initialize();
            ProducerProductionDictionaryService = new ProducerProductionDictionaryService();
            ProducerProductionDictionaryService.Initialize();
            //
            ProductionDurationDictionaryService = new ProductionDurationDictionaryService();
            ProductionDurationDictionaryService.Initialize();
            SatietyDurationDictionaryService = new SatietyDurationDictionaryService();
            SatietyDurationDictionaryService.Initialize();
            // before visualize money amount need to know a money amount
            InventoryService = new InventoryService();
            InventoryService.Initialize();
            // before visualize inventory items amount need to know a inventory items amount
            UserInterfaceManager.Initialize();
        }