public void paint1(Graphics g) {
        g.setFont(new Font("TimesRoman", Font.BOLD, 25));
        g.setColor(Color.WHITE);
        if (piso != null) {
            g.drawImage(fondo1, 0, 0, this);

            for (int i = 0; i < tubosA.size(); i++) {
                BaseEnemigo actualA = (BaseEnemigo) (tubosA.get(i));
                BaseEnemigo actualB = (BaseEnemigo) (tubosB.get(i));
                g.drawImage(actualA.getImagen(), actualA.getPosX(), actualA.getPosY(), this);
                g.drawImage(actualB.getImagen(), actualB.getPosX(), actualB.getPosY(), this);
            }
            g.drawImage(piso.getImagen(), piso.getPosX(), piso.getPosY(), this);
            if (inicio) {
                g.drawImage(tapTap, this.getWidth() / 2 - tapTap.getWidth(this) / 2, this.getHeight() / 2 - tapTap.getHeight(this) / 2, this);
                g.drawImage(getReady, this.getWidth() / 2 - getReady.getWidth(this) / 2, this.getHeight() / 2 - 120, this);
            }
            g.drawImage(flappy.getImagen(), flappy.getPosX(), flappy.getPosY(), this);
            if (gameover) {
                g.drawImage(pierdes, this.getWidth() / 2 - pierdes.getWidth(this) / 2, this.getHeight() / 2 - 130, this);
                g.drawImage(playAgain, this.getWidth() / 2 - playAgain.getWidth(this) / 2, this.getHeight() / 2, this);
                if (newScore) {
                    g.drawString("New Highscore " + hScore, 30, 230);
                } else {
                    g.drawString("Highscore " + hScore, 55, 230);
                }
            }
            if (nivelMensaje) {
                g.drawString("Nivel " + nivel, 10, 500);
            }
            if (pausa){
                g.drawImage(iconoPausa, this.getWidth() / 2 - iconoPausa.getWidth(this) / 2, this.getHeight() / 2 - iconoPausa.getHeight(this) / 2 - 20, this);
            }
            g.drawString("" + flappy.getScore(), this.getWidth() / 2 - 5, 100);
        } else {
            //Da un mensaje mientras se carga el dibujo	
            g.drawString("No se cargo la imagen..", 20, 20);
        }
    }