static void Main(string[] args) { Human Huey = new Human("Huey"); Wizard Lewis = new Wizard("Lewis"); Ninja Ryu = new Ninja("Ryu"); Samurai Jack = new Samurai("Jack"); Lewis.Fireball(Huey); Lewis.Fireball(Jack); Lewis.Fireball(Ryu); System.Console.WriteLine(Huey.health); Huey.Attack(Lewis); Ryu.Steal(Jack); Ryu.Steal(Huey); Ryu.Attack(Lewis); Ryu.Get_Away(); Jack.Death_Blow(Lewis); Jack.Meditate(); Jack.Attack(Ryu); Jack.Death_Blow(Ryu); System.Console.WriteLine(Huey.health); System.Console.WriteLine(Lewis.health); System.Console.WriteLine(Ryu.health); System.Console.WriteLine(Jack.health); }
static void Main(string[] args) { Wizard Wiz = new Wizard("Wiz"); Ninja Naruto = new Ninja("Naruto"); Samurai Kenshi = new Samurai("Kenshi"); Naruto.Steal(Wiz); Naruto.Attack(Kenshi); Wiz.Attack(Naruto); Wiz.Heal(Wiz); Kenshi.Attack(Naruto); Kenshi.Meditate(Kenshi); Console.WriteLine($"Wiz's HP: {Wiz.healthProp}"); Console.WriteLine($"Naruto's HP: {Naruto.healthProp}"); Console.WriteLine($"Kenshi's HP: {Kenshi.healthProp}"); }
static void Main(string[] args) { Console.WriteLine("WizNinSam"); Human Adrien = new Human("Adrien"); Samurai Benny = new Samurai("Benny Bob"); Benny.Attack(Adrien); Benny.Meditate(); Ninja Nibbles = new Ninja("Mr. Nibbles"); Nibbles.Attack(Benny); Wizard Walter = new Wizard("Walter Morgan"); Walter.Attack(Benny); Walter.Heal(Adrien); }
static void Main(string[] args) { Console.WriteLine("Hello World!"); Wizard tim = new Wizard("Tim"); Ninja joe = new Ninja("Joe"); tim.Attack(joe); tim.Heal(joe); joe.Attack(tim); Samurai jack = new Samurai("Jack"); jack.Attack(tim); joe.Steal(jack); jack.Attack(joe); jack.Attack(joe); jack.Attack(joe); }