/*     */   public void handleDirection(int targetX, int targetY)
/*     */   {
/*  75 */     double hitX = this.hitCheck.getX2();
/*  76 */     double hitY = this.hitCheck.getY2();
/*     */ 
/*  78 */     if (this.y < hitY) {
/*  79 */       if (this.x > hitX) {
/*  80 */         if (Math.abs(this.x - hitX) > Math.abs(this.y - 
/*  81 */           hitY))
/*  82 */           this.image = Core.enemyRifleManDirections.getTileImage(3);
/*     */         else {
/*  84 */           this.image = Core.enemyRifleManDirections.getTileImage(2);
/*     */         }
/*     */       }
/*  87 */       else if (Math.abs(this.x - hitX) > Math.abs(this.y - 
/*  88 */         hitY))
/*  89 */         this.image = Core.enemyRifleManDirections.getTileImage(1);
/*     */       else {
/*  91 */         this.image = Core.enemyRifleManDirections.getTileImage(2);
/*     */       }
/*     */ 
/*     */     }
/*  95 */     else if (this.x > hitX) {
/*  96 */       if (Math.abs(this.x - hitX) > Math.abs(this.y - 
/*  97 */         hitY))
/*  98 */         this.image = Core.enemyRifleManDirections.getTileImage(3);
/*     */       else {
/* 100 */         this.image = Core.enemyRifleManDirections.getTileImage(0);
/*     */       }
/*     */     }
/* 103 */     else if (Math.abs(this.x - hitX) > Math.abs(this.y - 
/* 104 */       hitY))
/* 105 */       this.image = Core.enemyRifleManDirections.getTileImage(1);
/*     */     else
/* 107 */       this.image = Core.enemyRifleManDirections.getTileImage(0);
/*     */   }