public static void PatronIterator()
        {
            Director director = new Director();
            var      builder  = new BuilderFavorable();
            Casa     casa     = new Casa(10, 10, 10, director, builder);

            casa.Superficie = 4;
            casa.Calle      = new Calle(10, 10, 5);
            IStrategy      estrategia  = new Secuencial();
            Decorator      pasto       = new PastoSeco(casa.crearSector(10, 10, 10));
            IResponsable   responsable = null;
            FabricaBombero fabrica     = new FabricaBombero(estrategia, pasto, responsable);

            BomberoSecretario bombero = new BomberoSecretario();

            bombero.bombero.Herramienta = fabrica.crearHerramienta();
            bombero.bombero.Vehiculo    = fabrica.crearVehiculo();
            DenunciaPorTablero tablero = new DenunciaPorTablero();

            casa.agregar(tablero);
            casa.Chispa();
            casa.Chispa();
            bombero.atenderdenuncias(tablero);
        }
        public static void patronObserver()
        {
            IStrategy      estrategia  = new Secuencial();
            Director       director    = new Director();
            var            builder     = new BuilderFavorable();
            Casa           casa        = new Casa(410, 9, 12, director, builder);
            Decorator      pasto       = new PastoSeco(casa.crearSector(1, 15, 10));
            IResponsable   responsable = null;
            FabricaBombero FBombero    = new FabricaBombero(estrategia, pasto, responsable);
            ICuartel       cuartel     = crearHeroe(FBombero);
            Calle          calle       = new Calle(12, 12, 20);

            casa.Calle = calle;
            casa.agregar((Bombero)cuartel.getPersonal());
            casa.Chispa();
        }