示例#1
0
 internal ImageService(DataCollection data, DataConfiguration config)
 {
     this.dataCollection = data;
     this.configuration = config;
 }
示例#2
0
文件: DataService.cs 项目: sunoru/PBO
        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();
        }