public void reinicia() {
        //sonido = true;
        //tema = new SoundClip("Sounds/Breaking_Bad.wav");
        //explosion = new SoundClip("Sounds/e.wav");
        theme.play();
        cont = 0;
        vidas = 3;
        score = 0;
        setSize(1000, 800);
        // addKeyListener(this);
        posX = 253;
        posY = (int) (getHeight() - 120);
        posXB = 263;
        posYB = (int) (getHeight() - 160);
        nivel2 = false;
        if (clickWalter) {
            URL cURL = this.getClass().getResource("Images/fondo1.png");
            fondo = new ImageIcon(Toolkit.getDefaultToolkit().getImage(cURL));
        }
        if (clickJesse) {
            URL f4URL = this.getClass().getResource("Images/fondo3.png");
            fondo = new ImageIcon(Toolkit.getDefaultToolkit().getImage(f4URL));
        }
        URL gURL = this.getClass().getResource("Images/gameover.png");
        gameOver = Toolkit.getDefaultToolkit().getImage(gURL);
        URL rURL = this.getClass().getResource("Images/flask.png");
        URL hURL = this.getClass().getResource("Images/walter.png");
        URL pURL = this.getClass().getResource("Images/polloshermanos1.png");
        barra = new Paddle(posX, posY, Toolkit.getDefaultToolkit().getImage(hURL));
        ball = new Ball(posXB, posYB, Toolkit.getDefaultToolkit().getImage(pURL));
        empieza = false;
        ganaste = false;
        choca = false;
        direction = 0;
        ballDirection = 1;
        pausa = false;
        lista = new LinkedList<Block>();
        vidas = 3;

        int diffBrickr1 = 0;
        int diffBrickr2 = 0;
        int diffBricker3 = 0;

        for (int i = 0; i < 29; i++) {

            if (i < 12) {

                posXr = (int) ((getWidth() / 30 - 10) + diffBrickr1);    //posision x es tres cuartos del applet
                posYr = 275;    //posision y es tres cuartos del applet
                brick = new Block(posXr, posYr, Toolkit.getDefaultToolkit().getImage(rURL));
                lista.add(brick);
                diffBrickr1 += (int) (getWidth() / 12);
            }

            if (i > 11 && i <= 19) {

                posXr = (int) ((getWidth() / 28 - 10) + diffBrickr2);    //posision x es tres cuartos del applet
                posYr = 350;    //posision y es tres cuartos del applet
                brick = new Block(posXr, posYr, Toolkit.getDefaultToolkit().getImage(rURL));
                lista.add(brick);
                diffBrickr2 += (int) (getWidth() / 9);
            }

            if (i > 20 && i <= 29) {

                posXr = (int) ((getWidth() / 8 + 10) + diffBricker3);    //posision x es tres cuartos del applet
                posYr = 425;    //posision y es tres cuartos del applet
                brick = new Block(posXr, posYr, Toolkit.getDefaultToolkit().getImage(rURL));
                lista.add(brick);
                diffBricker3 += (int) (getWidth() / 9);
            }

        }
    }