run(htype) {
      if (!this.stamina) {
          this.resetStamina();
          return;
      }

      if (!hm.nodes[this.currentNode].boar) {
          this.move();
          return;
      }
      this.hunt(htype);

  }
/**
   * run function that express a start point of application 
   */
run function that express a start point of application
run function that express a start point of application
run(htype) {
      if (!this.stamina) {
          this.resetStamina();
          return;
      }
      if (!hm.nodes[this.currentNode].boar) {
          this.move();
          return;
      }
      this.hunt(htype);
  }
run ( htype ) { if ( ! this . stamina ) { this . resetStamina ( ) ; return ; } if ( ! hm . nodes [ this . currentNode ] . boar ) { this . move ( ) ; return ; } this . hunt ( htype ) ; }
run function that express a start point of application
run function that express a start point of application