Example #1
0
        void IDamageDealer.dealDamage(IDamageReceiver enemy)
        {
            int totalDamage = attackDamage * level;

            enemy.takeDamage(totalDamage);
        }