Example #1
0
 public AbstractUnit(int damage, int defence, int weight, WeaponUnit weaponUnit,
                     List <AbstractCard.CardModifier> modifierRange, List <AbstractCard.CardTarget> targetRange,
                     AbstractCard.CardRarity rarity)
     : this(damage, defence, weight, weaponUnit, rarity)
 {
     ModifierRange = modifierRange;
     TargetRange   = targetRange;
 }
Example #2
0
 public AbstractUnit(int damage, int defence, int weight, WeaponUnit weaponUnit,
                     AbstractCard.CardRarity rarity)
 {
     Damage        = damage;
     Defence       = defence;
     Weight        = weight;
     Unit          = weaponUnit;
     ModifierRange = new List <AbstractCard.CardModifier>();
     TargetRange   = new List <AbstractCard.CardTarget>();
     Rarity        = rarity;
 }