Exemple #1
0
 void _OnBattleResponse(Guid battler, IBattleAdmissionTickets battle_admission_tickets)
 {
     if (_Entity.Id == battler)
     {
         ToBattleStageEvent(battle_admission_tickets);
     }
 }
Exemple #2
0
        public Battle(IBattleAdmissionTickets battle_admission_tickets, ActorInfomation actor_infomation, Remoting.ISoulBinder binder, IStorage stroage)
        {
            _BattleAdmissionTickets = battle_admission_tickets;
            _ActorInfomation = actor_infomation;
            _Binder = binder;

            _Storage = stroage;
        }
Exemple #3
0
 void _ToBattle(IBattleAdmissionTickets battle_admission_tickets)
 {
     var stage = new Regulus.Project.Crystal.Game.Stage.Battle(battle_admission_tickets, _ActorInfomation, Binder, Storage);
     stage.EndEvent += () =>
     {
         _ToAdventure(_ActorInfomation);
     };
     _StageMachine.Push(stage);
     _StatusEvent(UserStatus.Battle);
 }