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) { Console.WriteLine("Hello World!"); Human faizan = new Human("Faizan"); Human binh = new Human("Binh", 5, 4, 4, 110); System.Console.WriteLine(binh.Health); //System.Console.WriteLine(faizan.Health); binh.Attack(faizan); binh.Attack(faizan); faizan.Attack(binh); faizan.Attack(binh); faizan.Attack(binh); Console.WriteLine(binh.Health); Wizard wizard1 = new Wizard("Jason"); Console.WriteLine(wizard1.Strength); Console.WriteLine(wizard1.Health); wizard1.Heal(); Wizard wizard2 = new Wizard("Nick"); wizard1.Fireball(wizard2); Ninja ninja1 = new Ninja("Mike"); Ninja ninja2 = new Ninja("Jonny"); ninja1.Steal(ninja2); ninja2.Steal(ninja1); ninja2.Steal(ninja1); ninja2.Steal(ninja1); ninja2.Steal(ninja1); ninja2.Steal(ninja1); ninja2.Steal(ninja1); ninja2.Steal(ninja1); ninja1.Get_Away(); Samurai samurai1 = new Samurai("Oz"); Samurai samurai2 = new Samurai("Anne"); Samurai samurai3 = new Samurai("Anthony"); ninja1.Steal(samurai1); samurai1.Death_Blow(ninja1); samurai1.Meditate(); Samurai.How_Many(); }
static void Main(string[] args) { Human Humie = new Human("Hue"); Wizard wizo = new Wizard("WizWiz"); Ninja ninj = new Ninja("NinNin"); ninj.Steal(wizo); Samurai samu = new Samurai("SamSam"); samu.death_blow(ninj); }
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("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); }