static void Main(string[] args) { Console.WriteLine("Hello World!"); Human Josiah = new Human("Josiah"); Josiah.attack(Josiah); System.Console.WriteLine(Josiah.health); Wizard JMoney = new Wizard("JMoneyHOE"); System.Console.WriteLine(JMoney.health); JMoney.attack(Josiah); System.Console.WriteLine(Josiah.health); System.Console.WriteLine("Holy shit I can interpolate dawg health beep boop intel--->>> {0} current dex levels brah ---{1}", JMoney.intelligence, JMoney.dexterity); JMoney.Heal(); System.Console.WriteLine(JMoney.health); JMoney.Fireball(JMoney); JMoney.Fireball(Josiah); System.Console.WriteLine(JMoney.health); System.Console.WriteLine(Josiah.health); Ninja Chadtholemy = new Ninja("Chadtholemy"); Ninja Brentster = new Ninja("Brentster"); System.Console.WriteLine("This is the health of Chadtholemy***** {0} ****", Chadtholemy.health); System.Console.WriteLine("This is the dexterity of Chadtholemy***** {0} ****", Chadtholemy.dexterity); Chadtholemy.Steal(Brentster); Chadtholemy.DrinkBeer(); Samurai GeroSamurai = new Samurai("GeroSamurai"); GeroSamurai.DeathBlow(JMoney); }
static void Main(string[] args) { Console.WriteLine("Hello Earthlings!"); Human PlayerOne = new Human("William"); Wizard NPC1 = new Wizard("Kyle"); System.Console.WriteLine(PlayerOne); System.Console.WriteLine(NPC1); NPC1.Fireball(PlayerOne); System.Console.WriteLine(PlayerOne); Ninja NPC2 = new Ninja("Chris"); NPC2.Steal(PlayerOne); NPC2.GetAway(); System.Console.WriteLine("Ninja health: " + NPC2.health); }