public void run() {
        while ( true )
        {
            try {
                semaphore.acquire();
            } catch (InterruptedException ex) {
                Logger.getLogger(Manos.class.getName()).log(Level.SEVERE, null, ex);
            }
            while (distanciaActual > 130) {
            try {
                distanciaActual--;
                Thread.sleep(5);
                gs.repaint();

            } catch (InterruptedException ex) {
                Logger.getLogger(Manos.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
        if (barrillo != null) {
            gs.eliminarBarrillo(barrillo);
        }
        while (distanciaActual < distanciaMaxima) {
            try {
                distanciaActual++;
                Thread.sleep(5);
                gs.repaint();
            } catch (InterruptedException ex) {
                Logger.getLogger(Manos.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
        explotandoBarrillo = false;
        barrillo = null;
        
            
        }
        
    }