Esempio n. 1
0
        public void DoStreet(Fighter opponent)
        {
            double dmg = Speed + PowerPunch + Reputation;

            opponent.TakeDamage(dmg);
        }
Esempio n. 2
0
 protected override void Finisher(Fighter opponent)
 {
     Console.WriteLine("You hit him with ciganski samar,NO RECOVERY !!!");
 }
Esempio n. 3
0
 /// <summary>
 /// All opponent's health should be taken and it should Console.Write a finishing style and recovery time in weeks(hard-coded for each fighter)
 /// </summary>
 /// <param name="opponent">An opponent to finish</param>
 protected abstract void Finisher(Fighter opponent);
Esempio n. 4
0
        public void DoMuayThai(Fighter opponent)
        {
            double dmg = Speed + PowerPunch + Reputation;

            FightMethod(opponent, dmg);
        }
Esempio n. 5
0
 protected override void Finisher(Fighter opponent)
 {
     Console.WriteLine("You hit him with karlicno,expected recovery 5 weeks");
 }
Esempio n. 6
0
        public void DoStreet(Fighter opponent)
        {
            double dmg = Speed + PowerPunch + Experience;

            FightMethod(opponent, dmg);
        }
Esempio n. 7
0
        public void DoBoxing(Fighter opponent)
        {
            double dmg = Speed + PowerPunch + Experience;

            opponent.TakeDamage(dmg);
        }
Esempio n. 8
0
 protected override void Finisher(Fighter opponent)
 {
     Console.WriteLine("You hit him with mayageri,expected recovery 2 weeks");
 }
Esempio n. 9
0
        public void DoStreet(Fighter opponent)
        {
            double dmg = Speed + PowerPunch + StreetCredit;

            FightMethod(opponent, dmg);
        }