private void _ToAdventure(Adventurer adventurer) { _StatusEvent(UserStatus.Adventure); var stage = new Regulus.Project.ExiledPrincesses.Game.Stage.Adventure(adventurer , _Binder , _Zone); stage.ToToneEvent += _ToTown ; _StageMachine.Push(stage); }
private void _ToFirstAdventure(GameRecord record, Adventurer adv) { _StatusEvent(UserStatus.Adventure); var stage = new Regulus.Project.ExiledPrincesses.Game.Stage.Adventure(adv, _Binder, _Zone); stage.ToToneEvent += (tone) => { _AccountInfomation.Record = record; _ToTown(tone); }; _StageMachine.Push(stage); }
private Adventurer _BuildAdventurer(string map ,GameRecord record) { ActorInfomation[] actors = record.GetContingentActors(); var teammates = (from actor in actors select new Teammate(actor)).ToArray(); var adv = new Adventurer(); adv.Map = map; adv.Teammates = teammates; adv.Formation = Contingent.FormationType.Auxiliary; adv.Controller = this; return adv; }