public class TargetRestrictions
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static double |
RADIUS_DEFAULT |
static boolean |
USE_GPS_LOCATION_ACCURACY_DEFAULT |
Constructor and Description |
---|
TargetRestrictions() |
TargetRestrictions(double radiusRangeOfShoot,
boolean useGpsLocationAccuracy) |
Modifier and Type | Method and Description |
---|---|
double |
getRadius() |
boolean |
isUseGpsLocationAccuracy() |
void |
setRadius(double radius) |
void |
setUseGpsLocationAccuracy(boolean useGpsLocationAccuracy) |
public static final double RADIUS_DEFAULT
public static final boolean USE_GPS_LOCATION_ACCURACY_DEFAULT
public TargetRestrictions()
public TargetRestrictions(double radiusRangeOfShoot, boolean useGpsLocationAccuracy)
radiusRangeOfShoot
- radius range in metersuseGpsLocationAccuracy
- if it is true the accuracy will be considered as a range radius of the target