Beispiel #1
0
        public void Attack(UnitsGroup groupToAttack)
        {
            var attackDamage = GetAttackDamage();

            groupToAttack.TakeDamage(attackDamage);
        }
Beispiel #2
0
 public int CalculateAttackDamageOnTarget(UnitsGroup target)
 {
     return(target.CalculateDamageToBeDone(GetAttackDamage()).TotalDamage);
 }