public void Attack(UnitsGroup groupToAttack) { var attackDamage = GetAttackDamage(); groupToAttack.TakeDamage(attackDamage); }
public int CalculateAttackDamageOnTarget(UnitsGroup target) { return(target.CalculateDamageToBeDone(GetAttackDamage()).TotalDamage); }