private boolean Targeted(Info info){
		double Distance = 5000;
		int closest_target = -1;
		boolean targeted = false;
		int i = -1;
		
		Iterator grenades;
		grenades = info.getGrenades().iterator();
		
		if(info.getGrenades().size() != 0){
			while(grenades.hasNext()) {
				grenades.next();
				i++;
				
				InfoDetail grenade = info.getGrenades().get(i);
				
				int angle = grenade.getDirection();
				int targetX = grenade.getX();
				int targetY = grenade.getY();
			
				if(distanceFromMe(targetX, targetY)<700){
					int min = Math.abs(360-angleToHit(targetX,targetY, -TANK_SIZE));
					int max = Math.abs(360-angleToHit(targetX,targetY, TANK_SIZE));
				
					if(max > angle && min < angle){
						targeted = true;
						if(Distance > distanceFromMe(targetX, targetY)){
							Distance = distanceFromMe(targetX, targetY);
							closest_target = i;
						}
					}
				}
			}
			if(targeted){
				InfoDetail threat = info.getGrenades().get(closest_target);
				int angle_of_grenade = threat.getDirection();
				if(angle_of_grenade >= 180)
					{this.nextangle = angle_of_grenade - 90;}
				else 
					{this.nextangle = angle_of_grenade + 90;}
				return true;
			}
		}
		return false;
    }