Ejemplo n.º 1
0
        public void Setup()
        {
            batiriñonera = new List <Tecnologias>();
            Tecnologias batibumerangs = new Tecnologias("Batibumerangs", 100, 1);

            batiriñonera.Add(batibumerangs);
            batman = new Batman(batiriñonera);

            villanos = new List <Villano>();
            Psicopatas psicopata = new Psicopatas(5, 100);

            villanos.Add(psicopata);

            Habitante habitante   = new Habitante(2000000);
            Habitante habitante1  = new Habitante(7000000);
            Habitante habitante2  = new Habitante(8000000);
            Habitante habitante3  = new Habitante(9000000);
            Habitante habitante4  = new Habitante(10000000);
            Habitante habitante5  = new Habitante(11000000);
            Habitante habitante6  = new Habitante(12000000);
            Habitante habitante7  = new Habitante(13000000);
            Habitante habitante8  = new Habitante(14000000);
            Habitante habitante9  = new Habitante(15000000);
            Habitante habitante10 = new Habitante(16000000);
            Habitante habitante11 = new Habitante(500000);

            habitantes = new List <Habitante>();
            habitantes.Add(habitante);
            habitantes.Add(habitante1);
            habitantes.Add(habitante2);
            habitantes.Add(habitante3);
            habitantes.Add(habitante4);
            habitantes.Add(habitante5);
            habitantes.Add(habitante6);
            habitantes.Add(habitante7);
            habitantes.Add(habitante8);
            habitantes.Add(habitante9);
            habitantes.Add(habitante10);
            habitantes.Add(habitante11);
            ciudadGotica = new CiudadGotica(habitantes);
        }
Ejemplo n.º 2
0
        public void Setup()
        {
            soplete    = new BatiRiñonera("Bati-Soplete", 30, 5);
            cinturon   = new BatiRiñonera("Bati-Cinturon", 20, 15);
            puños      = new BatiRiñonera("Bati-Puños", 55, 30);
            tecnologia = new List <BatiRiñonera>()
            {
                soplete, cinturon, puños
            };
            batman = new Batman(tecnologia);

            extra      = new Extraterrestres(6, 3);
            blanco     = new GuanteBlanco();
            marron     = new GuanteMarron();
            psicopatas = new Psicopatas(10);
            robin      = new RobinHood();

            villanos = new List <Villanos>()
            {
                extra, blanco, marron
            };

            h1  = new Habitantes(2000000);
            h2  = new Habitantes(50000);
            h3  = new Habitantes(6000000);
            h4  = new Habitantes(7000000);
            h5  = new Habitantes(7500000);
            h6  = new Habitantes(40000);
            h7  = new Habitantes(8000000);
            h8  = new Habitantes(10000000);
            h9  = new Habitantes(150000);
            h10 = new Habitantes(650000);

            personas = new List <Habitantes>()
            {
                h1, h2, h3, h4, h5, h6, h7, h8, h9, h10
            };

            gotica = new Gotica();
        }