static void Main(string[] args) { Human danny = new Human("Danny"); Human robert = new Human("Robert"); Wizard charles = new Wizard("Charles"); Ninja cindy = new Ninja("Cindy"); Samurai sammy = new Samurai("Sammy"); charles.Heal(); charles.Fireball(danny); danny.Attack(robert); cindy.Steal(charles); cindy.GetAway(); sammy.DeathBlow(charles); sammy.DeathBlow(charles); sammy.DeathBlow(charles); sammy.DeathBlow(charles); sammy.Meditate(); Ninja.HowMany(); }
static void Main(string[] args) { string InputLine = Console.ReadLine(); Console.WriteLine(InputLine); Human kazuma = new Human("Kazuma"); Ninja chris = new Ninja("Chris"); Samurai darkness = new Samurai("Darkness"); Wizard megumin = new Wizard("Megumin"); chris.Steal(kazuma); chris.GetAway(); darkness.Attack(darkness); darkness.Meditate(); darkness.HowMany(); megumin.Explosion(kazuma); }
static void Main(string[] args) { Wizard wiz = new Wizard("Dima"); Samurai sam1 = new Samurai("Eric"); Samurai sam2 = new Samurai("Quon"); Ninja ninja = new Ninja("Craig"); Samurai.HowMany(); wiz.Heal(); wiz.Fireball(sam1); wiz.Attack(sam2); sam1.Meditate(); sam2.Meditate(); sam2.DeathBlow(wiz); ninja.Steal(sam2); sam2.Attack(ninja); wiz.Fireball(ninja); ninja.GetAway(); sam1.DeathBlow(ninja); }