コード例 #1
0
        public void Attack(UnitsGroup groupToAttack)
        {
            var attackDamage = GetAttackDamage();

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