예제 #1
0
        public void Setup()
        {
            carlos = new Comun();
            mabel  = new Abuelo(50);
            juana  = new Necios();

            maquillaje   = new Maquillaje();
            tiernos      = new Tiernos();
            terrorificos = new Terrorificos();

            maria  = new Niños(maquillaje, tiernos, 4, 16);
            juan   = new Niños(maquillaje, tiernos, 6, 3);
            tomas  = new Niños(maquillaje, terrorificos, 2, 14);
            camila = new Niños(maquillaje, terrorificos, 4, 5);

            niños = new List <Niños>();
            niños.Add(maria);
            niños.Add(juan);
            niños.Add(tomas);
            niños.Add(camila);

            miembros = new List <LegionDeTerror> {
                maria, juan, camila
            };

            legion   = new Legion(niños);
            legiones = new LegionesDeLegiones(new List <LegionDeTerror>()
            {
                legion, tomas
            });

            miembros.Add(tomas);
        }
        public void Setup()
        {
            abuelo = new Abuelo();
            necio  = new Necio();
            comun  = new Comun();

            maqui  = new Maquillaje();
            tierno = new Traje_Tierno();
            terror = new Traje_Terrorifico();

            mary = new Niño(maqui, tierno, 16);
            jony = new Niño(maqui, terror, 0);
            romo = new Niño(maqui, terror, 5);
            flor = new Niño(maqui, terror, 100);

            niños = new List <Asustador>()
            {
                mary, jony, romo
            };

            legion           = new Legion(niños);
            legionDeLegiones = new Legion(new List <Asustador>()
            {
                legion, flor
            });

            niños.Add(flor);
        }
예제 #3
0
 public void Setup()
 {
     traje1  = new Traje("Winnie Poo", "Tierno");
     traje2  = new Traje("SAW", "Terrorifico");
     niño1   = new Niño(traje1, 10);
     niño2   = new Niño(traje2, 8);
     niño3   = new Niño(traje1, 5);
     abuelo1 = new Abuelo();
     adulto1 = new AdultoComun();
     adulto2 = new AdultoNecio();
     legion1 = new Legion(new List <Malevolo> {
         niño1, niño2
     });
     legion2 = new Legion(new List <Malevolo> {
         niño2, niño3
     });
     legionLegion2 = new Legion(new List <Malevolo> {
         legion1, legion2
     });
     barrioNorte = new Barrios(new List <Niño> {
         niño1, niño2, niño3
     });
 }