public void run() { paso.mirar(); llano.addLlano(this); paso.mirar(); llano.preparacion(); try { teleferico.subir(this); } catch (InterruptedException ex) { Logger.getLogger(Escalador.class.getName()).log(Level.SEVERE, null, ex); } teleferico.viajando(); teleferico.salirSubiendo(this); paso.mirar(); base.entraCampoBaseSubiendo(this); paso.mirar(); base.aclimatacion(); paso.mirar(); uno.entraCampoUno(this); uno.aclimatacion(); paso.mirar(); if (cumbre.isAbierto()) { paso.mirar(); cumbre.entraCumbre(this); cumbre.contemplar(); paso.mirar(); cumbre.saleCumbre(this); paso.mirar(); base.aclimatacion(); try { teleferico.bajar(this); } catch (InterruptedException ex) { Logger.getLogger(Escalador.class.getName()).log(Level.SEVERE, null, ex); } base.saleCampoBaseSubiendo(this); teleferico.viajando(); teleferico.salirSubiendo(this); paso.mirar(); llano.addLlano(this); } else { try { uno.saleCampoUno(this); paso.mirar(); base.entraCampoBaseSubiendo(this); base.aclimatacion(); base.saleCampoBaseSubiendo(this); paso.mirar(); teleferico.bajar(this); paso.mirar(); teleferico.viajando(); paso.mirar(); teleferico.salirBajando(this); llano.addLlano(this); paso.mirar(); } catch (InterruptedException ex) { Logger.getLogger(Escalador.class.getName()).log(Level.SEVERE, null, ex); } } }