Ejemplo n.º 1
0
        public void Setup()
        {
            comun   = new Comun(2);
            red     = new Red(10);
            bomb    = new Bomb(3);
            chuck   = new Chuck(4);
            terence = new Terence(3, 2);
            matilda = new Matilda(4, new List <Huevo>()
            {
                new Huevo(2), new Huevo(3), new Huevo(1), new Huevo(4)
            });

            madera       = new Madera(3);
            vidrio       = new Vidrio(1);
            piedra       = new Piedra(2);
            obrero       = new Obrero();
            armadoEscudo = new Armado(new Escudo(2));
            armadoCasco  = new Armado(new Casco(4));

            isla = new Isla(new List <Pajaro>()
            {
                comun, red, bomb, chuck, terence, matilda
            });
            islaCerditos = new Isla_Cerdo(new List <Obstaculo>()
            {
                madera, vidrio, piedra, obrero, armadoCasco, armadoEscudo
            });
        }
        public void Setup()
        {
            red     = new Red(10);
            bomb    = new Bomb(10);
            chuck   = new Chuck(10, 50);
            matilda = new Matilda(10);
            terence = new Terence(10);
            comunes = new PajarosComunes(10);

            pajaros = new List <Pajaros> {
                red, bomb, chuck, matilda, comunes, terence
            };

            huevo = new Huevos(1000);

            obreros = new CerditosObreros();
            madera  = new Madera(20);
            piedra  = new Piedra(5);

            obstaculos = new List <Obstaculo> {
                obreros, madera, piedra
            };

            isla = new IslaPajaro(pajaros, obstaculos);
        }
Ejemplo n.º 3
0
 public void Setup()
 {
     pajarosComunes = new PajarosComunes(10);
     red            = new Red(10);
     bomb           = new Bomb(10);
     chuck          = new Chuck(95, 10);
     terence        = new Terence(10);
     matilda        = new Matilda(10);
     pajaros        = new List <Pajaros> {
         pajarosComunes, red, bomb, chuck, terence, matilda
     };
     huevo         = new Huevo(1000);
     paredDeVidrio = new ParedVidrio(20);
     obreros       = new CerditosObreros();
     paredDeMadera = new ParedMadera(20);
     obstaculos    = new List <Obstaculo> {
         paredDeVidrio, obreros, paredDeMadera
     };
     islaPajaros = new IslaPajaros(pajaros, obstaculos);
 }
 public SuperBall(Matilda matilda, string path_img, int left, int top, int width, int height, string name)
     : base(matilda, path_img, left, top, width, height, name)
 {
 }