@Override
    public void keyPressed(KeyEvent ke) {
        //variables para saber si esta presionado o no
        if(ke.getKeyCode() == KeyEvent.VK_LEFT){
            bIzq = true;
        }
        else if(ke.getKeyCode() == KeyEvent.VK_RIGHT){
            bDer = true;
        }
    }