Esempio n. 1
0
        static void Main(string[] args)
        {
            Hero Jason = new Hero("Jason", 3, 15);

            Ork Harvey = new Ork("Ork Harvey", 1, 5);
            Ork Ben    = new Ork("Ork Ben", 2, 8);

            Klingon Aaron = new Klingon("Klingon Aaron", 3, 12);
            Klingon Josh  = new Klingon("Klingon Josh", 5, 15);

            HarryPotter HarryPotter1 = new HarryPotter("Harry Potter gen.1", 7, 20, 2);
            HarryPotter HarryPotter2 = new HarryPotter("Harry Potter gen.2", 8, 20, 3);
            HarryPotter HarryPotter3 = new HarryPotter("Harry Potter gen.3", 10, 25, 4);

            Story.BeforeOrk();
            Battle.WithOrk(Jason, Harvey);
            Battle.WithOrk(Jason, Ben);

            Jason.LevelUp();

            Story.BeforeKlingon();
            Battle.WithKlingon(Jason, Aaron);
            Battle.WithKlingon(Jason, Josh);

            Jason.LevelUp();

            Story.BeforeHarryPotter();
            Battle.WithHarryPotter(Jason, HarryPotter1);
            Battle.WithHarryPotter(Jason, HarryPotter2);
            Battle.WithHarryPotter(Jason, HarryPotter3);

            Story.TheEnd();
        }