package ManicMiner;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.lcdui.game.*;
import java.io.IOException;

/**
 * @author supervisor
 */
public class RemakeManicMiner {

    //<editor-fold defaultstate="collapsed" desc=" Generated Fields ">//GEN-BEGIN:|fields|0|
    private Image ManicMiner;
    private Sprite ManicMinerPJ;
    public int ManicMinerPJseq001Delay = 200;
    public int[] ManicMinerPJseq001 = {0, 1, 0, 2};
    private Image mapa1;
    public int llaveseq001Delay = 50;
    public int[] llaveseq001 = {6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29};
    public int Deslizadorseq001Delay = 200;
    public int[] Deslizadorseq001 = {30, 33, 31, 32, 33};
    public int SueloArenososeq001Delay = 200;
    public int[] SueloArenososeq001 = {34, 35, 36, 37, 38, 39, 40, 41, 42};
    private TiledLayer tilesMapa1;
    public int llaveTilesMapa1;
    public int DeslizadorTilesMapa1;
    private Sprite avestruz2Mapa3;
    public int avestruz2Mapa3seq001Delay = 200;
    public int[] avestruz2Mapa3seq001 = {0, 1, 2, 3};
    private Sprite fondo3;
    public int fondo3seq001Delay = 200;
    public int[] fondo3seq001 = {0};
    private Image fondoFase3;
    private Sprite avestruz1Mapa3;
    public int avestruz1Mapa3seq001Delay = 200;
    public int[] avestruz1Mapa3seq001 = {0, 1, 2, 3};
    private Image backgroundMapa1;
    private Image avestruz1;
    private Image avestruz3;
    private TiledLayer ColisionMapa3;
    private Image mapa3;
    public int cintaMapa3seq001Delay = 200;
    public int[] cintaMapa3seq001 = {31, 30, 32, 33};
    public int llaveMapa3seq001Delay = 200;
    public int[] llaveMapa3seq001 = {6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29};
    private TiledLayer tilesMapa3;
    public int cintaMapa3TilesMapa3;
    public int llaveMapa3TilesMapa3;
    private Sprite puertaMapa4;
    public int puertaMapa4seq002Delay = 200;
    public int[] puertaMapa4seq002 = {0, 1, 2, 3, 4};
    private Sprite foca2Mapa4;
    public int foca2Mapa4seq001Delay = 200;
    public int[] foca2Mapa4seq001 = {0, 1, 2, 3};
    private Image foca2;
    private TiledLayer mapaTiles2;
    public int raquetaAnimMapaTiles2;
    public int CintaAnimMapaTiles2;
    private Image mapa2;
    public int CintaAnimseq001Delay = 200;
    public int[] CintaAnimseq001 = {33, 30, 31, 32};
    public int raquetaAnimseq001Delay = 200;
    public int[] raquetaAnimseq001 = {6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29};
    private Sprite foca1Mapa4;
    public int foca1Mapa4seq001Delay = 200;
    public int[] foca1Mapa4seq001 = {0, 1, 2, 3};
    private Sprite pinguino1;
    public int pinguino1seq001Delay = 200;
    public int[] pinguino1seq001 = {0, 2, 2, 3, 4, 3, 2, 3};
    private Image Pinguino;
    private Image puerta4;
    private TiledLayer background1;
    private Image fondoFase4;
    private Sprite fondo4;
    public int fondo4seq001Delay = 200;
    public int[] fondo4seq001 = {0};
    private Image foca1;
    private TiledLayer tilesMapa4;
    public int cintaMapa4TilesMapa4;
    public int llaveMapa4TilesMapa4;
    private Sprite MonstruoTrompeta;
    public int MonstruoTrompetaseq001Delay = 200;
    public int[] MonstruoTrompetaseq001 = {0, 2, 1, 3};
    private Image monstruo1;
    private Image mapa4;
    public int llaveMapa4seq001Delay = 200;
    public int[] llaveMapa4seq001 = {6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29};
    public int cintaMapa4seq001Delay = 200;
    public int[] cintaMapa4seq001 = {30, 31, 32, 33};
    private TiledLayer colisionMapa4;
    private TiledLayer ColisionMapa2;
    private TiledLayer presentacionColision;
    private Image Presentacion001;
    private Sprite decor;
    public int decorseq003Delay = 200;
    public int[] decorseq003 = {0, 0, 0, 0, 0};
    private Sprite fondo2;
    public int fondo2seq001Delay = 200;
    public int[] fondo2seq001 = {0};
    private Image fondoFase2;
    private TiledLayer ColisionMapa1;
    private Image objColision;
    private Image wc2;
    private Sprite wc2Mapa5;
    public int wc2Mapa5seq001Delay = 200;
    public int[] wc2Mapa5seq001 = {0, 1, 0, 2};
    private TiledLayer mapaTilesPresentacion;
    private TiledLayer tilesMapa5;
    public int cintaMapa5TilesMapa5;
    public int llaveMapa5TilesMapa5;
    private Image mapa5;
    public int cintaMapa5seq001Delay = 200;
    public int[] cintaMapa5seq001 = {30, 31, 32, 33};
    public int llaveMapa5seq001Delay = 200;
    public int[] llaveMapa5seq001 = {6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29};
    private Sprite wc1Mapa5;
    public int wc1Mapa5seq001Delay = 200;
    public int[] wc1Mapa5seq001 = {0, 1, 0, 2};
    private Image wc1;
    private Sprite fondo5;
    public int fondo5seq001Delay = 200;
    public int[] fondo5seq001 = {0};
    private Image fondoFase5;
    private TiledLayer colisionMapa5;
    private Image puerta5;
    private Sprite puertaMapa5;
    public int puertaMapa5seq001Delay = 200;
    public int[] puertaMapa5seq001 = {0, 1, 2, 3, 4};
    private Image Pinguino2;
    private Sprite pingu;
    public int pinguseq001Delay = 200;
    public int[] pinguseq001 = {0, 1, 2, 3, 4, 3, 2, 2};
    private Image puertasec;
    public int Puertaseq001Delay = 200;
    public int[] Puertaseq001 = {1, 2, 3, 4};
    private Image decoracion;
    private Sprite eugenioMapa5;
    public int eugenioMapa5seq001Delay = 200;
    public int[] eugenioMapa5seq001 = {0};
    private Image eugenio;
    private Sprite presentacionFondo;
    public int presentacionFondoseq002Delay = 200;
    public int[] presentacionFondoseq002 = {0};
    private Image puerta3;
    private Sprite Puerta1;
    public int Puerta1seq001Delay = 200;
    public int[] Puerta1seq001 = {0, 1, 2, 3, 4};
    private Sprite puertaMapa3;
    public int puertaMapa3seq001Delay = 200;
    public int[] puertaMapa3seq001 = {0, 1, 2, 3, 4};
    private Sprite puerta2;
    public int puerta2seq001Delay = 200;
    public int[] puerta2seq001 = {0, 1, 2, 3, 4};
    private Image puerta2sec;
    //</editor-fold>//GEN-END:|fields|0|

    //<editor-fold defaultstate="collapsed" desc=" Generated Methods ">//GEN-BEGIN:|methods|0|
    //</editor-fold>//GEN-END:|methods|0|

    public Image getManicMiner() throws java.io.IOException {//GEN-BEGIN:|1-getter|0|1-preInit
        if (ManicMiner == null) {//GEN-END:|1-getter|0|1-preInit
            // write pre-init user code here
            ManicMiner = Image.createImage("/ManicMiner.png");//GEN-BEGIN:|1-getter|1|1-postInit
        }//GEN-END:|1-getter|1|1-postInit
        // write post-init user code here
        return this.ManicMiner;//GEN-BEGIN:|1-getter|2|
    }
//GEN-END:|1-getter|2|

    public Sprite getManicMinerPJ() throws java.io.IOException {//GEN-BEGIN:|2-getter|0|2-preInit
        if (ManicMinerPJ == null) {//GEN-END:|2-getter|0|2-preInit
            // write pre-init user code here
            ManicMinerPJ = new Sprite(getManicMiner(), 10, 16);//GEN-BEGIN:|2-getter|1|2-postInit
            ManicMinerPJ.setFrameSequence(ManicMinerPJseq001);//GEN-END:|2-getter|1|2-postInit
            // write post-init user code here
        }//GEN-BEGIN:|2-getter|2|
        return ManicMinerPJ;
    }
//GEN-END:|2-getter|2|

    public Image getMapa1() throws java.io.IOException {//GEN-BEGIN:|4-getter|0|4-preInit
        if (mapa1 == null) {//GEN-END:|4-getter|0|4-preInit
            // write pre-init user code here
            mapa1 = Image.createImage("/mapa1.png");//GEN-BEGIN:|4-getter|1|4-postInit
        }//GEN-END:|4-getter|1|4-postInit
        // write post-init user code here
        return this.mapa1;//GEN-BEGIN:|4-getter|2|
    }
//GEN-END:|4-getter|2|

    public TiledLayer getTilesMapa1() throws java.io.IOException {//GEN-BEGIN:|5-getter|0|5-preInit
        if (tilesMapa1 == null) {//GEN-END:|5-getter|0|5-preInit
            // write pre-init user code here
            tilesMapa1 = new TiledLayer(32, 16, getMapa1(), 8, 8);//GEN-BEGIN:|5-getter|1|5-midInit
            llaveTilesMapa1 = tilesMapa1.createAnimatedTile(llaveseq001[0]);
            DeslizadorTilesMapa1 = tilesMapa1.createAnimatedTile(Deslizadorseq001[0]);
            int[][] tiles = {
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, llaveTilesMapa1, 0, 4, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, llaveTilesMapa1, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, llaveTilesMapa1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, llaveTilesMapa1, 0, 0, 2, 0, 0, 0, 3 },
                { 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 34, 34, 34, 34, 1, 34, 34, 34, 34, 1, 1, 1, 1, 1, 1, 1, 1, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, llaveTilesMapa1, 3 },
                { 3, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 1, 1, 1, 1, 0, 0, 0, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, DeslizadorTilesMapa1, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 34, 34, 34, 34, 34, 1, 1, 1, 3 },
                { 3, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3 }
            };//GEN-END:|5-getter|1|5-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|5-getter|2|5-postInit
                for (int col = 0; col < 32; col++) {
                    tilesMapa1.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|5-getter|2|5-postInit
        // write post-init user code here
        return tilesMapa1;//GEN-BEGIN:|5-getter|3|
    }
//GEN-END:|5-getter|3|

    public void updateLayerManagerForFase1(LayerManager lm) throws java.io.IOException {//GEN-LINE:|12-updateLayerManager|0|12-preUpdate
        // write pre-update user code here
        getPuerta1().setPosition(232, 104);//GEN-BEGIN:|12-updateLayerManager|1|12-postUpdate
        getPuerta1().setVisible(true);
        lm.append(getPuerta1());
        getTilesMapa1().setPosition(0, 0);
        getTilesMapa1().setVisible(true);
        lm.append(getTilesMapa1());
        getMonstruoTrompeta().setPosition(83, 56);
        getMonstruoTrompeta().setVisible(true);
        lm.append(getMonstruoTrompeta());
        getManicMinerPJ().setPosition(23, 104);
        getManicMinerPJ().setVisible(true);
        lm.append(getManicMinerPJ());
        getBackground1().setPosition(0, 0);
        getBackground1().setVisible(true);
        lm.append(getBackground1());
        getColisionMapa1().setPosition(0, 0);
        getColisionMapa1().setVisible(true);
        lm.append(getColisionMapa1());//GEN-END:|12-updateLayerManager|1|12-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|12-updateLayerManager|2|
//GEN-END:|12-updateLayerManager|2|

    public Image getBackgroundMapa1() throws java.io.IOException {//GEN-BEGIN:|20-getter|0|20-preInit
        if (backgroundMapa1 == null) {//GEN-END:|20-getter|0|20-preInit
            // write pre-init user code here
            backgroundMapa1 = Image.createImage("/backgroundMapa1.png");//GEN-BEGIN:|20-getter|1|20-postInit
        }//GEN-END:|20-getter|1|20-postInit
        // write post-init user code here
        return this.backgroundMapa1;//GEN-BEGIN:|20-getter|2|
    }
//GEN-END:|20-getter|2|

    public TiledLayer getBackground1() throws java.io.IOException {//GEN-BEGIN:|75-getter|0|75-preInit
        if (background1 == null) {//GEN-END:|75-getter|0|75-preInit
            // write pre-init user code here
            background1 = new TiledLayer(1, 1, getBackgroundMapa1(), 256, 128);//GEN-BEGIN:|75-getter|1|75-midInit
            int[][] tiles = {
                { 1 }
            };//GEN-END:|75-getter|1|75-midInit
            // write mid-init user code here
            for (int row = 0; row < 1; row++) {//GEN-BEGIN:|75-getter|2|75-postInit
                for (int col = 0; col < 1; col++) {
                    background1.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|75-getter|2|75-postInit
        // write post-init user code here
        return background1;//GEN-BEGIN:|75-getter|3|
    }
//GEN-END:|75-getter|3|

    public Image getMonstruo1() throws java.io.IOException {//GEN-BEGIN:|92-getter|0|92-preInit
        if (monstruo1 == null) {//GEN-END:|92-getter|0|92-preInit
            // write pre-init user code here
            monstruo1 = Image.createImage("/monstruo1.png");//GEN-BEGIN:|92-getter|1|92-postInit
        }//GEN-END:|92-getter|1|92-postInit
        // write post-init user code here
        return this.monstruo1;//GEN-BEGIN:|92-getter|2|
    }
//GEN-END:|92-getter|2|

    public Sprite getMonstruoTrompeta() throws java.io.IOException {//GEN-BEGIN:|93-getter|0|93-preInit
        if (MonstruoTrompeta == null) {//GEN-END:|93-getter|0|93-preInit
            // write pre-init user code here
            MonstruoTrompeta = new Sprite(getMonstruo1(), 12, 16);//GEN-BEGIN:|93-getter|1|93-postInit
            MonstruoTrompeta.setFrameSequence(MonstruoTrompetaseq001);//GEN-END:|93-getter|1|93-postInit
            // write post-init user code here
        }//GEN-BEGIN:|93-getter|2|
        return MonstruoTrompeta;
    }
//GEN-END:|93-getter|2|



    public Image getObjColision() throws java.io.IOException {//GEN-BEGIN:|138-getter|0|138-preInit
        if (objColision == null) {//GEN-END:|138-getter|0|138-preInit
            // write pre-init user code here
            objColision = Image.createImage("/objColision.png");//GEN-BEGIN:|138-getter|1|138-postInit
        }//GEN-END:|138-getter|1|138-postInit
        // write post-init user code here
        return this.objColision;//GEN-BEGIN:|138-getter|2|
    }
//GEN-END:|138-getter|2|

    public TiledLayer getColisionMapa1() throws java.io.IOException {//GEN-BEGIN:|139-getter|0|139-preInit
        if (ColisionMapa1 == null) {//GEN-END:|139-getter|0|139-preInit
            // write pre-init user code here
            ColisionMapa1 = new TiledLayer(32, 16, getObjColision(), 8, 8);//GEN-BEGIN:|139-getter|1|139-midInit
            int[][] tiles = {
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 6, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 5, 0, 0, 6, 0, 0, 0, 1 },
                { 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 2, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 1 },
                { 1, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 2, 2, 2, 2, 0, 0, 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 3, 3, 3, 3, 3, 2, 2, 2, 1 },
                { 1, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 1 },
                { 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 }
            };//GEN-END:|139-getter|1|139-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|139-getter|2|139-postInit
                for (int col = 0; col < 32; col++) {
                    ColisionMapa1.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|139-getter|2|139-postInit
        // write post-init user code here
        return ColisionMapa1;//GEN-BEGIN:|139-getter|3|
    }
//GEN-END:|139-getter|3|

    public Image getPuertasec() throws java.io.IOException {//GEN-BEGIN:|185-getter|0|185-preInit
        if (puertasec == null) {//GEN-END:|185-getter|0|185-preInit
            // write pre-init user code here
            puertasec = Image.createImage("/puertasec.png");//GEN-BEGIN:|185-getter|1|185-postInit
        }//GEN-END:|185-getter|1|185-postInit
        // write post-init user code here
        return this.puertasec;//GEN-BEGIN:|185-getter|2|
    }
//GEN-END:|185-getter|2|

    public Sprite getPuerta1() throws java.io.IOException {//GEN-BEGIN:|212-getter|0|212-preInit
        if (Puerta1 == null) {//GEN-END:|212-getter|0|212-preInit
            // write pre-init user code here
            Puerta1 = new Sprite(getPuertasec(), 16, 16);//GEN-BEGIN:|212-getter|1|212-postInit
            Puerta1.setFrameSequence(Puerta1seq001);//GEN-END:|212-getter|1|212-postInit
            // write post-init user code here
        }//GEN-BEGIN:|212-getter|2|
        return Puerta1;
    }
//GEN-END:|212-getter|2|

    public Image getPinguino() throws java.io.IOException {//GEN-BEGIN:|346-getter|0|346-preInit
        if (Pinguino == null) {//GEN-END:|346-getter|0|346-preInit
            // write pre-init user code here
            Pinguino = Image.createImage("/Pinguino.png");//GEN-BEGIN:|346-getter|1|346-postInit
        }//GEN-END:|346-getter|1|346-postInit
        // write post-init user code here
        return this.Pinguino;//GEN-BEGIN:|346-getter|2|
    }
//GEN-END:|346-getter|2|

    public Sprite getPinguino1() throws java.io.IOException {//GEN-BEGIN:|347-getter|0|347-preInit
        if (pinguino1 == null) {//GEN-END:|347-getter|0|347-preInit
            // write pre-init user code here
            pinguino1 = new Sprite(getPinguino(), 10, 16);//GEN-BEGIN:|347-getter|1|347-postInit
            pinguino1.setFrameSequence(pinguino1seq001);//GEN-END:|347-getter|1|347-postInit
            // write post-init user code here
        }//GEN-BEGIN:|347-getter|2|
        return pinguino1;
    }
//GEN-END:|347-getter|2|

    public Image getMapa2() throws java.io.IOException {//GEN-BEGIN:|349-getter|0|349-preInit
        if (mapa2 == null) {//GEN-END:|349-getter|0|349-preInit
            // write pre-init user code here
            mapa2 = Image.createImage("/mapa2.png");//GEN-BEGIN:|349-getter|1|349-postInit
        }//GEN-END:|349-getter|1|349-postInit
        // write post-init user code here
        return this.mapa2;//GEN-BEGIN:|349-getter|2|
    }
//GEN-END:|349-getter|2|

    public TiledLayer getMapaTiles2() throws java.io.IOException {//GEN-BEGIN:|350-getter|0|350-preInit
        if (mapaTiles2 == null) {//GEN-END:|350-getter|0|350-preInit
            // write pre-init user code here
            mapaTiles2 = new TiledLayer(32, 16, getMapa2(), 8, 8);//GEN-BEGIN:|350-getter|1|350-midInit
            raquetaAnimMapaTiles2 = mapaTiles2.createAnimatedTile(raquetaAnimseq001[0]);
            CintaAnimMapaTiles2 = mapaTiles2.createAnimatedTile(CintaAnimseq001[0]);
            int[][] tiles = {
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 },
                { 3, 0, 0, 0, 0, 0, 0, raquetaAnimMapaTiles2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, raquetaAnimMapaTiles2, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 34, 34, 1, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 3, 34, 34, 3, 0, 0, 3 },
                { 3, 1, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, raquetaAnimMapaTiles2, 0, 3, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 34, 34, 3, 0, 0, 3 },
                { 3, 0, 0, raquetaAnimMapaTiles2, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 34, 34, 3, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 34, 34, 34, 0, 0, 3, 34, 34, 3, 0, 0, 3 },
                { 3, 0, 0, CintaAnimMapaTiles2, CintaAnimMapaTiles2, CintaAnimMapaTiles2, CintaAnimMapaTiles2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 34, 34, 3, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, raquetaAnimMapaTiles2, 0, 0, 0, 0, 0, 3, 34, 34, 3, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 34, 34, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3 }
            };//GEN-END:|350-getter|1|350-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|350-getter|2|350-postInit
                for (int col = 0; col < 32; col++) {
                    mapaTiles2.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|350-getter|2|350-postInit
        // write post-init user code here
        return mapaTiles2;//GEN-BEGIN:|350-getter|3|
    }
//GEN-END:|350-getter|3|

    public Image getFondoFase2() throws java.io.IOException {//GEN-BEGIN:|355-getter|0|355-preInit
        if (fondoFase2 == null) {//GEN-END:|355-getter|0|355-preInit
            // write pre-init user code here
            fondoFase2 = Image.createImage("/fondoFase2.png");//GEN-BEGIN:|355-getter|1|355-postInit
        }//GEN-END:|355-getter|1|355-postInit
        // write post-init user code here
        return this.fondoFase2;//GEN-BEGIN:|355-getter|2|
    }
//GEN-END:|355-getter|2|

    public Sprite getFondo2() throws java.io.IOException {//GEN-BEGIN:|356-getter|0|356-preInit
        if (fondo2 == null) {//GEN-END:|356-getter|0|356-preInit
            // write pre-init user code here
            fondo2 = new Sprite(getFondoFase2(), 256, 128);//GEN-BEGIN:|356-getter|1|356-postInit
            fondo2.setFrameSequence(fondo2seq001);//GEN-END:|356-getter|1|356-postInit
            // write post-init user code here
        }//GEN-BEGIN:|356-getter|2|
        return fondo2;
    }
//GEN-END:|356-getter|2|

    public void updateLayerManagerForFase2(LayerManager lm) throws java.io.IOException {//GEN-LINE:|358-updateLayerManager|0|358-preUpdate
        // write pre-update user code here
        getManicMinerPJ().setPosition(40, 104);//GEN-BEGIN:|358-updateLayerManager|1|358-postUpdate
        getManicMinerPJ().setVisible(true);
        lm.append(getManicMinerPJ());
        getPuerta2().setPosition(233, 104);
        getPuerta2().setVisible(true);
        lm.append(getPuerta2());
        getPingu().setPosition(168, 104);
        getPingu().setVisible(true);
        lm.append(getPingu());
        getPinguino1().setPosition(85, 24);
        getPinguino1().setVisible(true);
        lm.append(getPinguino1());
        getMapaTiles2().setPosition(0, 0);
        getMapaTiles2().setVisible(true);
        lm.append(getMapaTiles2());
        getFondo2().setPosition(0, 0);
        getFondo2().setVisible(true);
        lm.append(getFondo2());
        getColisionMapa2().setPosition(0, 0);
        getColisionMapa2().setVisible(true);
        lm.append(getColisionMapa2());//GEN-END:|358-updateLayerManager|1|358-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|358-updateLayerManager|2|
//GEN-END:|358-updateLayerManager|2|

    public TiledLayer getColisionMapa2() throws java.io.IOException {//GEN-BEGIN:|371-getter|0|371-preInit
        if (ColisionMapa2 == null) {//GEN-END:|371-getter|0|371-preInit
            // write pre-init user code here
            ColisionMapa2 = new TiledLayer(32, 16, getObjColision(), 8, 8);//GEN-BEGIN:|371-getter|1|371-midInit
            int[][] tiles = {
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 2, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 1, 3, 3, 1, 0, 0, 1 },
                { 1, 2, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 5, 0, 1, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 3, 1, 0, 0, 1 },
                { 1, 0, 0, 5, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 3, 1, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 0, 0, 1, 3, 3, 1, 0, 0, 1 },
                { 1, 0, 0, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 3, 1, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 5, 0, 0, 0, 0, 0, 1, 3, 3, 1, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 1 },
                { 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 }
            };//GEN-END:|371-getter|1|371-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|371-getter|2|371-postInit
                for (int col = 0; col < 32; col++) {
                    ColisionMapa2.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|371-getter|2|371-postInit
        // write post-init user code here
        return ColisionMapa2;//GEN-BEGIN:|371-getter|3|
    }
//GEN-END:|371-getter|3|

    public Image getPinguino2() throws java.io.IOException {//GEN-BEGIN:|446-getter|0|446-preInit
        if (Pinguino2 == null) {//GEN-END:|446-getter|0|446-preInit
            // write pre-init user code here
            Pinguino2 = Image.createImage("/Pinguino2.png");//GEN-BEGIN:|446-getter|1|446-postInit
        }//GEN-END:|446-getter|1|446-postInit
        // write post-init user code here
        return this.Pinguino2;//GEN-BEGIN:|446-getter|2|
    }
//GEN-END:|446-getter|2|

    public Sprite getPingu() throws java.io.IOException {//GEN-BEGIN:|447-getter|0|447-preInit
        if (pingu == null) {//GEN-END:|447-getter|0|447-preInit
            // write pre-init user code here
            pingu = new Sprite(getPinguino2(), 10, 16);//GEN-BEGIN:|447-getter|1|447-postInit
            pingu.setFrameSequence(pinguseq001);//GEN-END:|447-getter|1|447-postInit
            // write post-init user code here
        }//GEN-BEGIN:|447-getter|2|
        return pingu;
    }
//GEN-END:|447-getter|2|

    public Image getPuerta2sec() throws java.io.IOException {//GEN-BEGIN:|484-getter|0|484-preInit
        if (puerta2sec == null) {//GEN-END:|484-getter|0|484-preInit
            // write pre-init user code here
            puerta2sec = Image.createImage("/puerta2sec.png");//GEN-BEGIN:|484-getter|1|484-postInit
        }//GEN-END:|484-getter|1|484-postInit
        // write post-init user code here
        return this.puerta2sec;//GEN-BEGIN:|484-getter|2|
    }
//GEN-END:|484-getter|2|

    public Sprite getPuerta2() throws java.io.IOException {//GEN-BEGIN:|485-getter|0|485-preInit
        if (puerta2 == null) {//GEN-END:|485-getter|0|485-preInit
            // write pre-init user code here
            puerta2 = new Sprite(getPuerta2sec(), 16, 16);//GEN-BEGIN:|485-getter|1|485-postInit
            puerta2.setFrameSequence(puerta2seq001);//GEN-END:|485-getter|1|485-postInit
            // write post-init user code here
        }//GEN-BEGIN:|485-getter|2|
        return puerta2;
    }
//GEN-END:|485-getter|2|

    public void updateLayerManagerForPresentacion(LayerManager lm) throws java.io.IOException {//GEN-LINE:|584-updateLayerManager|0|584-preUpdate
        // write pre-update user code here
        getPuerta1().setPosition(231, 39);//GEN-BEGIN:|584-updateLayerManager|1|584-postUpdate
        getPuerta1().setVisible(true);
        lm.append(getPuerta1());
        getDecor().setPosition(151, 14);
        getDecor().setVisible(true);
        lm.append(getDecor());
        getManicMinerPJ().setPosition(16, 39);
        getManicMinerPJ().setVisible(true);
        lm.append(getManicMinerPJ());
        getPresentacionFondo().setPosition(0, 0);
        getPresentacionFondo().setVisible(true);
        lm.append(getPresentacionFondo());
        getPresentacionColision().setPosition(0, 0);
        getPresentacionColision().setVisible(true);
        lm.append(getPresentacionColision());
        getMapaTilesPresentacion().setPosition(0, 0);
        getMapaTilesPresentacion().setVisible(true);
        lm.append(getMapaTilesPresentacion());//GEN-END:|584-updateLayerManager|1|584-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|584-updateLayerManager|2|
//GEN-END:|584-updateLayerManager|2|

    public TiledLayer getPresentacionColision() throws java.io.IOException {//GEN-BEGIN:|585-getter|0|585-preInit
        if (presentacionColision == null) {//GEN-END:|585-getter|0|585-preInit
            // write pre-init user code here
            presentacionColision = new TiledLayer(32, 16, getObjColision(), 8, 8);//GEN-BEGIN:|585-getter|1|585-midInit
            int[][] tiles = {
                { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 1 },
                { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
            };//GEN-END:|585-getter|1|585-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|585-getter|2|585-postInit
                for (int col = 0; col < 32; col++) {
                    presentacionColision.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|585-getter|2|585-postInit
        // write post-init user code here
        return presentacionColision;//GEN-BEGIN:|585-getter|3|
    }
//GEN-END:|585-getter|3|

    public Image getPresentacion001() throws java.io.IOException {//GEN-BEGIN:|586-getter|0|586-preInit
        if (Presentacion001 == null) {//GEN-END:|586-getter|0|586-preInit
            // write pre-init user code here
            Presentacion001 = Image.createImage("/Presentacion.png");//GEN-BEGIN:|586-getter|1|586-postInit
        }//GEN-END:|586-getter|1|586-postInit
        // write post-init user code here
        return this.Presentacion001;//GEN-BEGIN:|586-getter|2|
    }
//GEN-END:|586-getter|2|



    public Image getDecoracion() throws java.io.IOException {//GEN-BEGIN:|665-getter|0|665-preInit
        if (decoracion == null) {//GEN-END:|665-getter|0|665-preInit
            // write pre-init user code here
            decoracion = Image.createImage("/decoracion.png");//GEN-BEGIN:|665-getter|1|665-postInit
        }//GEN-END:|665-getter|1|665-postInit
        // write post-init user code here
        return this.decoracion;//GEN-BEGIN:|665-getter|2|
    }
//GEN-END:|665-getter|2|



    public TiledLayer getMapaTilesPresentacion() throws java.io.IOException {//GEN-BEGIN:|700-getter|0|700-preInit
        if (mapaTilesPresentacion == null) {//GEN-END:|700-getter|0|700-preInit
            // write pre-init user code here
            mapaTilesPresentacion = new TiledLayer(32, 16, getMapa2(), 8, 8);//GEN-BEGIN:|700-getter|1|700-midInit
            int[][] tiles = {
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
            };//GEN-END:|700-getter|1|700-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|700-getter|2|700-postInit
                for (int col = 0; col < 32; col++) {
                    mapaTilesPresentacion.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|700-getter|2|700-postInit
        // write post-init user code here
        return mapaTilesPresentacion;//GEN-BEGIN:|700-getter|3|
    }
//GEN-END:|700-getter|3|



    public Sprite getDecor() throws java.io.IOException {//GEN-BEGIN:|856-getter|0|856-preInit
        if (decor == null) {//GEN-END:|856-getter|0|856-preInit
            // write pre-init user code here
            decor = new Sprite(getDecoracion(), 105, 41);//GEN-BEGIN:|856-getter|1|856-postInit
            decor.setFrameSequence(decorseq003);//GEN-END:|856-getter|1|856-postInit
            // write post-init user code here
        }//GEN-BEGIN:|856-getter|2|
        return decor;
    }
//GEN-END:|856-getter|2|

    public Sprite getPresentacionFondo() throws java.io.IOException {//GEN-BEGIN:|1019-getter|0|1019-preInit
        if (presentacionFondo == null) {//GEN-END:|1019-getter|0|1019-preInit
            // write pre-init user code here
            presentacionFondo = new Sprite(getPresentacion001(), 256, 128);//GEN-BEGIN:|1019-getter|1|1019-postInit
            presentacionFondo.setFrameSequence(presentacionFondoseq002);//GEN-END:|1019-getter|1|1019-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1019-getter|2|
        return presentacionFondo;
    }
//GEN-END:|1019-getter|2|

    public Image getMapa3() throws java.io.IOException {//GEN-BEGIN:|1105-getter|0|1105-preInit
        if (mapa3 == null) {//GEN-END:|1105-getter|0|1105-preInit
            // write pre-init user code here
            mapa3 = Image.createImage("/mapa3.png");//GEN-BEGIN:|1105-getter|1|1105-postInit
        }//GEN-END:|1105-getter|1|1105-postInit
        // write post-init user code here
        return this.mapa3;//GEN-BEGIN:|1105-getter|2|
    }
//GEN-END:|1105-getter|2|

    public TiledLayer getTilesMapa3() throws java.io.IOException {//GEN-BEGIN:|1106-getter|0|1106-preInit
        if (tilesMapa3 == null) {//GEN-END:|1106-getter|0|1106-preInit
            // write pre-init user code here
            tilesMapa3 = new TiledLayer(32, 16, getMapa3(), 8, 8);//GEN-BEGIN:|1106-getter|1|1106-midInit
            cintaMapa3TilesMapa3 = tilesMapa3.createAnimatedTile(cintaMapa3seq001[0]);
            llaveMapa3TilesMapa3 = tilesMapa3.createAnimatedTile(llaveMapa3seq001[0]);
            int[][] tiles = {
                { 3, 0, 0, 0, 0, 0, llaveMapa3TilesMapa3, 0, 0, 0, 2, 0, 0, 0, 0, llaveMapa3TilesMapa3, 0, 0, 4, 0, 0, 0, 0, llaveMapa3TilesMapa3, 0, 0, 0, 2, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 1, 1, 1, 1, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, llaveMapa3TilesMapa3, 0, 0, 0, 0, 0, 0, 0, 0, llaveMapa3TilesMapa3, 3 },
                { 3, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 3 },
                { 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 4, 0, 0, 0, 0, cintaMapa3TilesMapa3, cintaMapa3TilesMapa3, cintaMapa3TilesMapa3, cintaMapa3TilesMapa3, cintaMapa3TilesMapa3, cintaMapa3TilesMapa3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 3 },
                { 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3 }
            };//GEN-END:|1106-getter|1|1106-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|1106-getter|2|1106-postInit
                for (int col = 0; col < 32; col++) {
                    tilesMapa3.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|1106-getter|2|1106-postInit
        // write post-init user code here
        return tilesMapa3;//GEN-BEGIN:|1106-getter|3|
    }
//GEN-END:|1106-getter|3|

    public TiledLayer getColisionMapa3() throws java.io.IOException {//GEN-BEGIN:|1111-getter|0|1111-preInit
        if (ColisionMapa3 == null) {//GEN-END:|1111-getter|0|1111-preInit
            // write pre-init user code here
            ColisionMapa3 = new TiledLayer(32, 16, getObjColision(), 8, 8);//GEN-BEGIN:|1111-getter|1|1111-midInit
            int[][] tiles = {
                { 1, 0, 0, 0, 0, 0, 5, 0, 0, 0, 6, 0, 0, 0, 0, 5, 0, 0, 6, 0, 0, 0, 0, 5, 0, 0, 0, 6, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 5, 1 },
                { 1, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 1 },
                { 1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 6, 0, 0, 0, 0, 4, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 1 },
                { 1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 }
            };//GEN-END:|1111-getter|1|1111-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|1111-getter|2|1111-postInit
                for (int col = 0; col < 32; col++) {
                    ColisionMapa3.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|1111-getter|2|1111-postInit
        // write post-init user code here
        return ColisionMapa3;//GEN-BEGIN:|1111-getter|3|
    }
//GEN-END:|1111-getter|3|

    public Image getAvestruz1() throws java.io.IOException {//GEN-BEGIN:|1112-getter|0|1112-preInit
        if (avestruz1 == null) {//GEN-END:|1112-getter|0|1112-preInit
            // write pre-init user code here
            avestruz1 = Image.createImage("/avestruz1.png");//GEN-BEGIN:|1112-getter|1|1112-postInit
        }//GEN-END:|1112-getter|1|1112-postInit
        // write post-init user code here
        return this.avestruz1;//GEN-BEGIN:|1112-getter|2|
    }
//GEN-END:|1112-getter|2|

    public Sprite getAvestruz1Mapa3() throws java.io.IOException {//GEN-BEGIN:|1113-getter|0|1113-preInit
        if (avestruz1Mapa3 == null) {//GEN-END:|1113-getter|0|1113-preInit
            // write pre-init user code here
            avestruz1Mapa3 = new Sprite(getAvestruz1(), 10, 16);//GEN-BEGIN:|1113-getter|1|1113-postInit
            avestruz1Mapa3.setFrameSequence(avestruz1Mapa3seq001);//GEN-END:|1113-getter|1|1113-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1113-getter|2|
        return avestruz1Mapa3;
    }
//GEN-END:|1113-getter|2|

    public Image getAvestruz3() throws java.io.IOException {//GEN-BEGIN:|1115-getter|0|1115-preInit
        if (avestruz3 == null) {//GEN-END:|1115-getter|0|1115-preInit
            // write pre-init user code here
            avestruz3 = Image.createImage("/avestruz3.png");//GEN-BEGIN:|1115-getter|1|1115-postInit
        }//GEN-END:|1115-getter|1|1115-postInit
        // write post-init user code here
        return this.avestruz3;//GEN-BEGIN:|1115-getter|2|
    }
//GEN-END:|1115-getter|2|

    public Sprite getAvestruz2Mapa3() throws java.io.IOException {//GEN-BEGIN:|1116-getter|0|1116-preInit
        if (avestruz2Mapa3 == null) {//GEN-END:|1116-getter|0|1116-preInit
            // write pre-init user code here
            avestruz2Mapa3 = new Sprite(getAvestruz3(), 10, 16);//GEN-BEGIN:|1116-getter|1|1116-postInit
            avestruz2Mapa3.setFrameSequence(avestruz2Mapa3seq001);//GEN-END:|1116-getter|1|1116-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1116-getter|2|
        return avestruz2Mapa3;
    }
//GEN-END:|1116-getter|2|

    public Image getFondoFase3() throws java.io.IOException {//GEN-BEGIN:|1118-getter|0|1118-preInit
        if (fondoFase3 == null) {//GEN-END:|1118-getter|0|1118-preInit
            // write pre-init user code here
            fondoFase3 = Image.createImage("/fondoFase3.png");//GEN-BEGIN:|1118-getter|1|1118-postInit
        }//GEN-END:|1118-getter|1|1118-postInit
        // write post-init user code here
        return this.fondoFase3;//GEN-BEGIN:|1118-getter|2|
    }
//GEN-END:|1118-getter|2|

    public Sprite getFondo3() throws java.io.IOException {//GEN-BEGIN:|1119-getter|0|1119-preInit
        if (fondo3 == null) {//GEN-END:|1119-getter|0|1119-preInit
            // write pre-init user code here
            fondo3 = new Sprite(getFondoFase3(), 256, 128);//GEN-BEGIN:|1119-getter|1|1119-postInit
            fondo3.setFrameSequence(fondo3seq001);//GEN-END:|1119-getter|1|1119-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1119-getter|2|
        return fondo3;
    }
//GEN-END:|1119-getter|2|

    public void updateLayerManagerForFase3(LayerManager lm) throws java.io.IOException {//GEN-LINE:|1121-updateLayerManager|0|1121-preUpdate
        // write pre-update user code here
        getManicMinerPJ().setPosition(17, 104);//GEN-BEGIN:|1121-updateLayerManager|1|1121-postUpdate
        getManicMinerPJ().setVisible(true);
        lm.append(getManicMinerPJ());
        getPuertaMapa3().setPosition(232, 88);
        getPuertaMapa3().setVisible(true);
        lm.append(getPuertaMapa3());
        getAvestruz2Mapa3().setPosition(179, 24);
        getAvestruz2Mapa3().setVisible(true);
        lm.append(getAvestruz2Mapa3());
        getAvestruz1Mapa3().setPosition(53, 24);
        getAvestruz1Mapa3().setVisible(true);
        lm.append(getAvestruz1Mapa3());
        getTilesMapa3().setPosition(0, 0);
        getTilesMapa3().setVisible(true);
        lm.append(getTilesMapa3());
        getFondo3().setPosition(0, 0);
        getFondo3().setVisible(true);
        lm.append(getFondo3());
        getColisionMapa3().setPosition(0, 0);
        getColisionMapa3().setVisible(true);
        lm.append(getColisionMapa3());//GEN-END:|1121-updateLayerManager|1|1121-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|1121-updateLayerManager|2|
//GEN-END:|1121-updateLayerManager|2|

    public Image getPuerta3() throws java.io.IOException {//GEN-BEGIN:|1176-getter|0|1176-preInit
        if (puerta3 == null) {//GEN-END:|1176-getter|0|1176-preInit
            // write pre-init user code here
            puerta3 = Image.createImage("/puerta3.png");//GEN-BEGIN:|1176-getter|1|1176-postInit
        }//GEN-END:|1176-getter|1|1176-postInit
        // write post-init user code here
        return this.puerta3;//GEN-BEGIN:|1176-getter|2|
    }
//GEN-END:|1176-getter|2|

    public Sprite getPuertaMapa3() throws java.io.IOException {//GEN-BEGIN:|1177-getter|0|1177-preInit
        if (puertaMapa3 == null) {//GEN-END:|1177-getter|0|1177-preInit
            // write pre-init user code here
            puertaMapa3 = new Sprite(getPuerta3(), 16, 16);//GEN-BEGIN:|1177-getter|1|1177-postInit
            puertaMapa3.setFrameSequence(puertaMapa3seq001);//GEN-END:|1177-getter|1|1177-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1177-getter|2|
        return puertaMapa3;
    }
//GEN-END:|1177-getter|2|

    public Image getMapa4() throws java.io.IOException {//GEN-BEGIN:|1281-getter|0|1281-preInit
        if (mapa4 == null) {//GEN-END:|1281-getter|0|1281-preInit
            // write pre-init user code here
            mapa4 = Image.createImage("/mapa4.png");//GEN-BEGIN:|1281-getter|1|1281-postInit
        }//GEN-END:|1281-getter|1|1281-postInit
        // write post-init user code here
        return this.mapa4;//GEN-BEGIN:|1281-getter|2|
    }
//GEN-END:|1281-getter|2|

    public TiledLayer getTilesMapa4() throws java.io.IOException {//GEN-BEGIN:|1282-getter|0|1282-preInit
        if (tilesMapa4 == null) {//GEN-END:|1282-getter|0|1282-preInit
            // write pre-init user code here
            tilesMapa4 = new TiledLayer(32, 16, getMapa4(), 8, 8);//GEN-BEGIN:|1282-getter|1|1282-midInit
            cintaMapa4TilesMapa4 = tilesMapa4.createAnimatedTile(cintaMapa4seq001[0]);
            llaveMapa4TilesMapa4 = tilesMapa4.createAnimatedTile(llaveMapa4seq001[0]);
            int[][] tiles = {
                { 3, llaveMapa4TilesMapa4, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, llaveMapa4TilesMapa4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, llaveMapa4TilesMapa4, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 3 },
                { 3, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, llaveMapa4TilesMapa4, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, llaveMapa4TilesMapa4, 3 },
                { 3, 34, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, cintaMapa4TilesMapa4, cintaMapa4TilesMapa4, cintaMapa4TilesMapa4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 1, 1, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3 }
            };//GEN-END:|1282-getter|1|1282-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|1282-getter|2|1282-postInit
                for (int col = 0; col < 32; col++) {
                    tilesMapa4.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|1282-getter|2|1282-postInit
        // write post-init user code here
        return tilesMapa4;//GEN-BEGIN:|1282-getter|3|
    }
//GEN-END:|1282-getter|3|

    public TiledLayer getColisionMapa4() throws java.io.IOException {//GEN-BEGIN:|1287-getter|0|1287-preInit
        if (colisionMapa4 == null) {//GEN-END:|1287-getter|0|1287-preInit
            // write pre-init user code here
            colisionMapa4 = new TiledLayer(32, 16, getObjColision(), 8, 8);//GEN-BEGIN:|1287-getter|1|1287-midInit
            int[][] tiles = {
                { 1, 5, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 9, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 1 },
                { 1, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 5, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 5, 1 },
                { 1, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 2, 2, 2, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 }
            };//GEN-END:|1287-getter|1|1287-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|1287-getter|2|1287-postInit
                for (int col = 0; col < 32; col++) {
                    colisionMapa4.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|1287-getter|2|1287-postInit
        // write post-init user code here
        return colisionMapa4;//GEN-BEGIN:|1287-getter|3|
    }
//GEN-END:|1287-getter|3|

    public Image getFondoFase4() throws java.io.IOException {//GEN-BEGIN:|1288-getter|0|1288-preInit
        if (fondoFase4 == null) {//GEN-END:|1288-getter|0|1288-preInit
            // write pre-init user code here
            fondoFase4 = Image.createImage("/fondoFase4.png");//GEN-BEGIN:|1288-getter|1|1288-postInit
        }//GEN-END:|1288-getter|1|1288-postInit
        // write post-init user code here
        return this.fondoFase4;//GEN-BEGIN:|1288-getter|2|
    }
//GEN-END:|1288-getter|2|

    public Sprite getFondo4() throws java.io.IOException {//GEN-BEGIN:|1289-getter|0|1289-preInit
        if (fondo4 == null) {//GEN-END:|1289-getter|0|1289-preInit
            // write pre-init user code here
            fondo4 = new Sprite(getFondoFase4(), 256, 128);//GEN-BEGIN:|1289-getter|1|1289-postInit
            fondo4.setFrameSequence(fondo4seq001);//GEN-END:|1289-getter|1|1289-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1289-getter|2|
        return fondo4;
    }
//GEN-END:|1289-getter|2|

    public void updateLayerManagerForFase4(LayerManager lm) throws java.io.IOException {//GEN-LINE:|1291-updateLayerManager|0|1291-preUpdate
        // write pre-update user code here
        getFoca2Mapa4().setPosition(75, 104);//GEN-BEGIN:|1291-updateLayerManager|1|1291-postUpdate
        getFoca2Mapa4().setVisible(true);
        lm.append(getFoca2Mapa4());
        getFoca1Mapa4().setPosition(45, 104);
        getFoca1Mapa4().setVisible(true);
        lm.append(getFoca1Mapa4());
        getManicMinerPJ().setPosition(232, 104);
        getManicMinerPJ().setVisible(true);
        lm.append(getManicMinerPJ());
        getPuertaMapa4().setPosition(232, 8);
        getPuertaMapa4().setVisible(true);
        lm.append(getPuertaMapa4());
        getTilesMapa4().setPosition(0, 0);
        getTilesMapa4().setVisible(true);
        lm.append(getTilesMapa4());
        getFondo4().setPosition(0, 0);
        getFondo4().setVisible(true);
        lm.append(getFondo4());
        getColisionMapa4().setPosition(0, 0);
        getColisionMapa4().setVisible(true);
        lm.append(getColisionMapa4());//GEN-END:|1291-updateLayerManager|1|1291-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|1291-updateLayerManager|2|
//GEN-END:|1291-updateLayerManager|2|

    public Image getFoca1() throws java.io.IOException {//GEN-BEGIN:|1295-getter|0|1295-preInit
        if (foca1 == null) {//GEN-END:|1295-getter|0|1295-preInit
            // write pre-init user code here
            foca1 = Image.createImage("/foca1.png");//GEN-BEGIN:|1295-getter|1|1295-postInit
        }//GEN-END:|1295-getter|1|1295-postInit
        // write post-init user code here
        return this.foca1;//GEN-BEGIN:|1295-getter|2|
    }
//GEN-END:|1295-getter|2|

    public Sprite getFoca1Mapa4() throws java.io.IOException {//GEN-BEGIN:|1296-getter|0|1296-preInit
        if (foca1Mapa4 == null) {//GEN-END:|1296-getter|0|1296-preInit
            // write pre-init user code here
            foca1Mapa4 = new Sprite(getFoca1(), 13, 16);//GEN-BEGIN:|1296-getter|1|1296-postInit
            foca1Mapa4.setFrameSequence(foca1Mapa4seq001);//GEN-END:|1296-getter|1|1296-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1296-getter|2|
        return foca1Mapa4;
    }
//GEN-END:|1296-getter|2|

    public Image getFoca2() throws java.io.IOException {//GEN-BEGIN:|1298-getter|0|1298-preInit
        if (foca2 == null) {//GEN-END:|1298-getter|0|1298-preInit
            // write pre-init user code here
            foca2 = Image.createImage("/foca2.png");//GEN-BEGIN:|1298-getter|1|1298-postInit
        }//GEN-END:|1298-getter|1|1298-postInit
        // write post-init user code here
        return this.foca2;//GEN-BEGIN:|1298-getter|2|
    }
//GEN-END:|1298-getter|2|

    public Sprite getFoca2Mapa4() throws java.io.IOException {//GEN-BEGIN:|1299-getter|0|1299-preInit
        if (foca2Mapa4 == null) {//GEN-END:|1299-getter|0|1299-preInit
            // write pre-init user code here
            foca2Mapa4 = new Sprite(getFoca2(), 13, 16);//GEN-BEGIN:|1299-getter|1|1299-postInit
            foca2Mapa4.setFrameSequence(foca2Mapa4seq001);//GEN-END:|1299-getter|1|1299-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1299-getter|2|
        return foca2Mapa4;
    }
//GEN-END:|1299-getter|2|

    public Image getPuerta4() throws java.io.IOException {//GEN-BEGIN:|1301-getter|0|1301-preInit
        if (puerta4 == null) {//GEN-END:|1301-getter|0|1301-preInit
            // write pre-init user code here
            puerta4 = Image.createImage("/puerta4.png");//GEN-BEGIN:|1301-getter|1|1301-postInit
        }//GEN-END:|1301-getter|1|1301-postInit
        // write post-init user code here
        return this.puerta4;//GEN-BEGIN:|1301-getter|2|
    }
//GEN-END:|1301-getter|2|

    public Sprite getPuertaMapa4() throws java.io.IOException {//GEN-BEGIN:|1304-getter|0|1304-preInit
        if (puertaMapa4 == null) {//GEN-END:|1304-getter|0|1304-preInit
            // write pre-init user code here
            puertaMapa4 = new Sprite(getPuerta4(), 16, 16);//GEN-BEGIN:|1304-getter|1|1304-postInit
            puertaMapa4.setFrameSequence(puertaMapa4seq002);//GEN-END:|1304-getter|1|1304-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1304-getter|2|
        return puertaMapa4;
    }
//GEN-END:|1304-getter|2|

    public Image getMapa5() throws java.io.IOException {//GEN-BEGIN:|1475-getter|0|1475-preInit
        if (mapa5 == null) {//GEN-END:|1475-getter|0|1475-preInit
            // write pre-init user code here
            mapa5 = Image.createImage("/mapa5.png");//GEN-BEGIN:|1475-getter|1|1475-postInit
        }//GEN-END:|1475-getter|1|1475-postInit
        // write post-init user code here
        return this.mapa5;//GEN-BEGIN:|1475-getter|2|
    }
//GEN-END:|1475-getter|2|

    public TiledLayer getTilesMapa5() throws java.io.IOException {//GEN-BEGIN:|1476-getter|0|1476-preInit
        if (tilesMapa5 == null) {//GEN-END:|1476-getter|0|1476-preInit
            // write pre-init user code here
            tilesMapa5 = new TiledLayer(32, 16, getMapa5(), 8, 8);//GEN-BEGIN:|1476-getter|1|1476-midInit
            cintaMapa5TilesMapa5 = tilesMapa5.createAnimatedTile(cintaMapa5seq001[0]);
            llaveMapa5TilesMapa5 = tilesMapa5.createAnimatedTile(llaveMapa5seq001[0]);
            int[][] tiles = {
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, llaveMapa5TilesMapa5, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 34, 34, 34, 34, 1, 1, 1, 1, 1, 1, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, llaveMapa5TilesMapa5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, llaveMapa5TilesMapa5, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, cintaMapa5TilesMapa5, cintaMapa5TilesMapa5, cintaMapa5TilesMapa5, cintaMapa5TilesMapa5, cintaMapa5TilesMapa5, cintaMapa5TilesMapa5, cintaMapa5TilesMapa5, cintaMapa5TilesMapa5, cintaMapa5TilesMapa5, cintaMapa5TilesMapa5, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 34, 34, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 3 },
                { 3, 0, 0, 0, 0, 0, 0, llaveMapa5TilesMapa5, 3, llaveMapa5TilesMapa5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 1, 1, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 },
                { 3, 0, 0, 0, 0, 2, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 3, 3, 3, 3, 3, 3, 3, 2, 2, 0, 0, 0, 0, 0, 3 },
                { 3, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 3 }
            };//GEN-END:|1476-getter|1|1476-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|1476-getter|2|1476-postInit
                for (int col = 0; col < 32; col++) {
                    tilesMapa5.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|1476-getter|2|1476-postInit
        // write post-init user code here
        return tilesMapa5;//GEN-BEGIN:|1476-getter|3|
    }
//GEN-END:|1476-getter|3|

    public TiledLayer getColisionMapa5() throws java.io.IOException {//GEN-BEGIN:|1481-getter|0|1481-preInit
        if (colisionMapa5 == null) {//GEN-END:|1481-getter|0|1481-preInit
            // write pre-init user code here
            colisionMapa5 = new TiledLayer(32, 16, getObjColision(), 8, 8);//GEN-BEGIN:|1481-getter|1|1481-midInit
            int[][] tiles = {
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 5, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 2, 1 },
                { 1, 0, 0, 0, 0, 0, 0, 5, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 2, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
                { 1, 0, 0, 0, 0, 6, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 9, 1, 1, 1, 1, 1, 1, 1, 6, 6, 0, 0, 0, 0, 0, 1 },
                { 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1 }
            };//GEN-END:|1481-getter|1|1481-midInit
            // write mid-init user code here
            for (int row = 0; row < 16; row++) {//GEN-BEGIN:|1481-getter|2|1481-postInit
                for (int col = 0; col < 32; col++) {
                    colisionMapa5.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|1481-getter|2|1481-postInit
        // write post-init user code here
        return colisionMapa5;//GEN-BEGIN:|1481-getter|3|
    }
//GEN-END:|1481-getter|3|

    public Image getFondoFase5() throws java.io.IOException {//GEN-BEGIN:|1482-getter|0|1482-preInit
        if (fondoFase5 == null) {//GEN-END:|1482-getter|0|1482-preInit
            // write pre-init user code here
            fondoFase5 = Image.createImage("/fondoFase5.png");//GEN-BEGIN:|1482-getter|1|1482-postInit
        }//GEN-END:|1482-getter|1|1482-postInit
        // write post-init user code here
        return this.fondoFase5;//GEN-BEGIN:|1482-getter|2|
    }
//GEN-END:|1482-getter|2|

    public Sprite getFondo5() throws java.io.IOException {//GEN-BEGIN:|1483-getter|0|1483-preInit
        if (fondo5 == null) {//GEN-END:|1483-getter|0|1483-preInit
            // write pre-init user code here
            fondo5 = new Sprite(getFondoFase5(), 256, 128);//GEN-BEGIN:|1483-getter|1|1483-postInit
            fondo5.setFrameSequence(fondo5seq001);//GEN-END:|1483-getter|1|1483-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1483-getter|2|
        return fondo5;
    }
//GEN-END:|1483-getter|2|

    public Image getWc1() throws java.io.IOException {//GEN-BEGIN:|1485-getter|0|1485-preInit
        if (wc1 == null) {//GEN-END:|1485-getter|0|1485-preInit
            // write pre-init user code here
            wc1 = Image.createImage("/wc1.png");//GEN-BEGIN:|1485-getter|1|1485-postInit
        }//GEN-END:|1485-getter|1|1485-postInit
        // write post-init user code here
        return this.wc1;//GEN-BEGIN:|1485-getter|2|
    }
//GEN-END:|1485-getter|2|

    public Sprite getWc1Mapa5() throws java.io.IOException {//GEN-BEGIN:|1486-getter|0|1486-preInit
        if (wc1Mapa5 == null) {//GEN-END:|1486-getter|0|1486-preInit
            // write pre-init user code here
            wc1Mapa5 = new Sprite(getWc1(), 10, 16);//GEN-BEGIN:|1486-getter|1|1486-postInit
            wc1Mapa5.setFrameSequence(wc1Mapa5seq001);//GEN-END:|1486-getter|1|1486-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1486-getter|2|
        return wc1Mapa5;
    }
//GEN-END:|1486-getter|2|

    public Image getWc2() throws java.io.IOException {//GEN-BEGIN:|1488-getter|0|1488-preInit
        if (wc2 == null) {//GEN-END:|1488-getter|0|1488-preInit
            // write pre-init user code here
            wc2 = Image.createImage("/wc2.png");//GEN-BEGIN:|1488-getter|1|1488-postInit
        }//GEN-END:|1488-getter|1|1488-postInit
        // write post-init user code here
        return this.wc2;//GEN-BEGIN:|1488-getter|2|
    }
//GEN-END:|1488-getter|2|

    public Sprite getWc2Mapa5() throws java.io.IOException {//GEN-BEGIN:|1489-getter|0|1489-preInit
        if (wc2Mapa5 == null) {//GEN-END:|1489-getter|0|1489-preInit
            // write pre-init user code here
            wc2Mapa5 = new Sprite(getWc2(), 10, 16);//GEN-BEGIN:|1489-getter|1|1489-postInit
            wc2Mapa5.setFrameSequence(wc2Mapa5seq001);//GEN-END:|1489-getter|1|1489-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1489-getter|2|
        return wc2Mapa5;
    }
//GEN-END:|1489-getter|2|

    public void updateLayerManagerForFase5(LayerManager lm) throws java.io.IOException {//GEN-LINE:|1491-updateLayerManager|0|1491-preUpdate
        // write pre-update user code here
        getEugenioMapa5().setPosition(120, 0);//GEN-BEGIN:|1491-updateLayerManager|1|1491-postUpdate
        getEugenioMapa5().setVisible(true);
        lm.append(getEugenioMapa5());
        getManicMinerPJ().setPosition(16, 24);
        getManicMinerPJ().setVisible(true);
        lm.append(getManicMinerPJ());
        getWc2Mapa5().setPosition(32, 56);
        getWc2Mapa5().setVisible(true);
        lm.append(getWc2Mapa5());
        getWc1Mapa5().setPosition(96, 24);
        getWc1Mapa5().setVisible(true);
        lm.append(getWc1Mapa5());
        getPuertaMapa5().setPosition(120, 104);
        getPuertaMapa5().setVisible(true);
        lm.append(getPuertaMapa5());
        getTilesMapa5().setPosition(0, 0);
        getTilesMapa5().setVisible(true);
        lm.append(getTilesMapa5());
        getFondo5().setPosition(0, 0);
        getFondo5().setVisible(true);
        lm.append(getFondo5());
        getColisionMapa5().setPosition(0, 0);
        getColisionMapa5().setVisible(true);
        lm.append(getColisionMapa5());//GEN-END:|1491-updateLayerManager|1|1491-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|1491-updateLayerManager|2|
//GEN-END:|1491-updateLayerManager|2|

    public Image getPuerta5() throws java.io.IOException {//GEN-BEGIN:|1525-getter|0|1525-preInit
        if (puerta5 == null) {//GEN-END:|1525-getter|0|1525-preInit
            // write pre-init user code here
            puerta5 = Image.createImage("/puerta5.png");//GEN-BEGIN:|1525-getter|1|1525-postInit
        }//GEN-END:|1525-getter|1|1525-postInit
        // write post-init user code here
        return this.puerta5;//GEN-BEGIN:|1525-getter|2|
    }
//GEN-END:|1525-getter|2|

    public Sprite getPuertaMapa5() throws java.io.IOException {//GEN-BEGIN:|1526-getter|0|1526-preInit
        if (puertaMapa5 == null) {//GEN-END:|1526-getter|0|1526-preInit
            // write pre-init user code here
            puertaMapa5 = new Sprite(getPuerta5(), 16, 16);//GEN-BEGIN:|1526-getter|1|1526-postInit
            puertaMapa5.setFrameSequence(puertaMapa5seq001);//GEN-END:|1526-getter|1|1526-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1526-getter|2|
        return puertaMapa5;
    }
//GEN-END:|1526-getter|2|

    public Image getEugenio() throws java.io.IOException {//GEN-BEGIN:|1701-getter|0|1701-preInit
        if (eugenio == null) {//GEN-END:|1701-getter|0|1701-preInit
            // write pre-init user code here
            eugenio = Image.createImage("/eugenio.png");//GEN-BEGIN:|1701-getter|1|1701-postInit
        }//GEN-END:|1701-getter|1|1701-postInit
        // write post-init user code here
        return this.eugenio;//GEN-BEGIN:|1701-getter|2|
    }
//GEN-END:|1701-getter|2|

    public Sprite getEugenioMapa5() throws java.io.IOException {//GEN-BEGIN:|1702-getter|0|1702-preInit
        if (eugenioMapa5 == null) {//GEN-END:|1702-getter|0|1702-preInit
            // write pre-init user code here
            eugenioMapa5 = new Sprite(getEugenio(), 16, 16);//GEN-BEGIN:|1702-getter|1|1702-postInit
            eugenioMapa5.setFrameSequence(eugenioMapa5seq001);//GEN-END:|1702-getter|1|1702-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1702-getter|2|
        return eugenioMapa5;
    }
//GEN-END:|1702-getter|2|



}
