Exemple #1
0
        private static void LoadImpl(string baseDir, IStringService stringService)
        {
            dataCollection = DataCollection.Load(Path.Combine(baseDir, CONSTS.INDEX_FILE), baseDir);
              configuration = dataCollection.ReadFile<DataConfiguration>(CONSTS.CONFIG_FILE, true);

              String = stringService.GetDomainService(CONSTS.BATTLE_DOMAIN);
              String.SetProvider(LoadGameStrings);
              DataString = stringService.GetDomainService(CONSTS.BATTLE_DATA_DOMAIN);
              DataString.SetProvider(LoadDataStrings);

              Image = new ImageService(dataCollection, configuration);

              //GameLog = new GameLog(logStringService);

              romData = RomData.Load();
        }