public void DoStreet(Fighter opponent) { double dmg = Speed + PowerPunch + Reputation; opponent.TakeDamage(dmg); }
protected override void Finisher(Fighter opponent) { Console.WriteLine("You hit him with ciganski samar,NO RECOVERY !!!"); }
/// <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);
public void DoMuayThai(Fighter opponent) { double dmg = Speed + PowerPunch + Reputation; FightMethod(opponent, dmg); }
protected override void Finisher(Fighter opponent) { Console.WriteLine("You hit him with karlicno,expected recovery 5 weeks"); }
public void DoStreet(Fighter opponent) { double dmg = Speed + PowerPunch + Experience; FightMethod(opponent, dmg); }
public void DoBoxing(Fighter opponent) { double dmg = Speed + PowerPunch + Experience; opponent.TakeDamage(dmg); }
protected override void Finisher(Fighter opponent) { Console.WriteLine("You hit him with mayageri,expected recovery 2 weeks"); }
public void DoStreet(Fighter opponent) { double dmg = Speed + PowerPunch + StreetCredit; FightMethod(opponent, dmg); }