示例#1
0
文件: Core.cs 项目: jiowchern/Regulus
 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);
 }
示例#2
0
文件: Core.cs 项目: jiowchern/Regulus
 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);
 }
示例#3
0
文件: Core.cs 项目: jiowchern/Regulus
        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;
        }