Exemplo n.º 1
0
 public override void DoEffect(MingmingBattleLogic mingming)
 {
     if (constraint.MingmingMeetsConstraint(mingming))
     {
         action.InvokeAction(mingming, mingming, alignment);
     }
 }
        public override void InvokeAction(MingmingBattleLogic source, MingmingBattleLogic target, CardAlignment cardAlignment)
        {
            OnInvoked?.Invoke();

            if (Constraint.MingmingMeetsConstraint(source))
            {
                Action.InvokeAction(source, target, cardAlignment);
            }
        }