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

            Warrior Dustin = new Warrior("Warrior Dustin", 1, 1);
            Warrior Marc   = new Warrior("Warrior Marc", 3, 5);

            Knight Evol = new Knight("Knight Dustin2.0", 3, 5);
            Knight Max  = new Knight("Knight Max", 5, 5);

            Monster small   = new Monster("Small Monster", 5, 10, 3);
            Monster average = new Monster("Average Monster", 5, 5, 3);
            Monster big     = new Monster("Big Monster", 5, 5, 5);

            Story.BeforeWarriors();
            Battle.WithWarrior(Royce, Dustin);
            Battle.WithWarrior(Royce, Marc);

            Royce.LevelUp();

            Story.BeforeKnights();
            Battle.WithKnight(Royce, Evol);
            Battle.WithKnight(Royce, Max);

            Royce.LevelUp();

            Story.BeforeMonster();
            Battle.WithMonster(Royce, small);
            Battle.WithMonster(Royce, average);
            Battle.WithMonster(Royce, big);

            Story.TheEnd();
        }
Ejemplo n.º 2
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();
        }