public CardTemplate ActivatedAbility(Action<ActivatedAbilityParameters> set)
 {
     _init.Add(cp =>
     {
       var p = new ActivatedAbilityParameters();
       set(p);
       cp.ActivatedAbilities.Add(new ActivatedAbility(p));
     });
       return this;
 }
Exemple #2
0
 public CardTemplate ActivatedAbility(Action <ActivatedAbilityParameters> set)
 {
     _init.Add(cp =>
     {
         var p = new ActivatedAbilityParameters();
         set(p);
         cp.ActivatedAbilities.Add(new ActivatedAbility(p));
     });
     return(this);
 }
Exemple #3
0
 public ActivatedAbility(ActivatedAbilityParameters p)
     : base(p)
 {
     _p = p;
 }
 public ActivatedAbility(ActivatedAbilityParameters p)
     : base(p)
 {
     _p = p;
 }