public InstanceManager(MainWindow mainWindow) { this.userlogin = new UserLogin(this); this.mainWindow = mainWindow; this.backgroundthread = new BackgroundThread(this); this.uihelp = new UIHelp(this); this.action = new ACTION(this); this.configManager = new ConfigManager(this); this.asset_textes = new Programe.TextRes.Asset_Textes(this); this.catchdatasummery = new CatchDataSummery(this); this.userdatasummery = new UserDataSummery(this); this.friend = new Friend(this); this.battleloop_n = new BattleLoop_Normal(this); this.battleloop_a = new BattleLoop_Activity(this); this.battleloop_s = new BattleLoop_Simulation(this); //4个后勤任务 for (int x = 0; x < 4; x++) { Operation_Act_Info auto_operation_act = new Operation_Act_Info(); Dic_auto_operation_act.Add(Dic_auto_operation_act.Count, auto_operation_act); } //练级任务 new_User_Normal_MissionInfo nunm = new new_User_Normal_MissionInfo(BattleLoop_AN_Teams, 0); dic_userbattletaskinfo.Add(dic_userbattletaskinfo.Count, nunm); for (int x = 0; x < 2; x++) { EquipBuilt eb = new EquipBuilt(); this.list_equipBuilt.Add(eb); } this.auto_summery = new Auto_Summery(this); this.battle_loop = new BattleLoop(this); }
public Game_Config_Info_Func(CatchDataSummery catchdatasummery) { this.cds = catchdatasummery; }