/*    */   public void checkFiring()
/*    */   {
/* 50 */     for (int i = 0; i < Core.units.size(); i++) {
/* 51 */       Unit u = (Unit)Core.units.get(i);
/* 52 */       if ((this.firingAngle.intersects(u.collision)) && (!this.inRange.contains(u))) {
/* 53 */         this.inRange.add(u);
/* 54 */         System.out.println("Unit added " + u);
/*    */       }
/* 56 */       else if ((this.inRange.contains(u)) && (!this.firingAngle.intersects(u.collision))) {
/* 57 */         this.inRange.remove(u);
/*    */       }
/*    */     }
/*    */   }