protected override void Finisher(Fighter opponent) { Console.WriteLine($"I AM {Name.ToUpper()}"); }
public void DoStreet(Fighter opponent) { Console.WriteLine("Splash,swashh"); TakeDamage((PowerPunch + Speed) * Reputation); }
/// <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) { Console.WriteLine("Uauaaa"); TakeDamage((PowerPunch + Speed) * Reputation); }
public void DoBoxing(Fighter opponent) { Console.WriteLine("Poww"); TakeDamage((PowerPunch + Speed) * Reputation); }
protected override void Finisher(Fighter opponent) { Console.WriteLine($"Street fighter health:{ Health}"); }
public void DoStreet(Fighter opponent) { Console.WriteLine("Puf,paf,bong"); TakeDamage((Speed + PowerPunch) * Experience); }
public void DoBoxing(Fighter opponent) { Console.WriteLine("Bam,bam,smash"); TakeDamage((Speed + PowerPunch) * Experience); }