public boolean isMissileGoingToHit(EntityMissile missile){
  if (missile == null || missile.targetVector == null) {
    return false;
  }
  return (Vector2.distance(new Vector2(new Pos3D(missile)),new Vector2(xCoord,zCoord)) < alarmRange && Vector2.distance(new Vector2(missile.targetVector),new Vector2(xCoord,zCoord)) < safetyRange);
}

public boolean isMissileGoingToHit ( EntityMissile missile ) { if ( missile == null || missile . targetVector == null ) { return false ; } return ( Vector2 . distance ( new Vector2 ( new Pos3D ( missile ) ) , new Vector2 ( xCoord , zCoord ) ) < alarmRange && Vector2 . distance ( new Vector2 ( missile . targetVector ) , new Vector2 ( xCoord , zCoord ) ) < safetyRange ) ; }
checks to see if the missile will hit within the range of the radar station
