Esempio n. 1
0
        public override void Execute()
        {
            var slot = Game.MyPlayer.FieldZone.GetCards().Count + 1;

            _source.PickUp();
            _source.Drop();
            if (!_source.DoReposponse)
            {
                return;
            }
            ZoneMgr.Get().AddLocalZoneChange(_source.Source, Game.MyPlayer.FieldZone, slot);
            Game.MyPlayer.UpdateMana(_source.RealTimeCost);
            Game.MyPlayer.HandZone.UpdateLayout(-1, true);
            Game.MyPlayer.FieldZone.SortWithSpotForHeldCard(-1);
            if (GameState.Get().GetResponseMode() == GameState.ResponseMode.SUB_OPTION)
            {
                return;
            }
            EnemyActionHandler.Get().NotifyOpponentOfCardDropped();
            ActionQueue.Remove(this);
        }
Esempio n. 2
0
 public override void Execute()
 {
     if (Game.IsAttacking())
     {
         return;
     }
     _attacker.Grab();
     if (!_attacker.DoReposponse)
     {
         return;
     }
     _attacker.PickUp();
     EnemyActionHandler.Get().NotifyOpponentOfTargetModeBegin(_attacker.Source);
     GameState.Get().GetGameEntity().NotifyOfBattlefieldCardClicked(_target.Source.GetEntity(), true);
     if (!_target.DoReposponse)
     {
         return;
     }
     EnemyActionHandler.Get().NotifyOpponentOfTargetEnd();
     Game.MyPlayer.FieldZone.UpdateLayout();
     ActionQueue.Remove(this);
 }
Esempio n. 3
0
 public override void Execute()
 {
     EndGameScreen.Get().m_hitbox.TriggerRelease();
     EndGameScreen.Get().ContinueEvents();
     ActionQueue.Remove(this);
 }
Esempio n. 4
0
 public override void Execute()
 {
     InputManager.Get().DoEndTurnButton();
     ActionQueue.Remove(this);
 }