public void setDistanceLimit(double limit) {
        exploreType = DISTANCE;
        this.limit = limit;
        this.finishLimit = limit + Math.max(limit * 0.14, 2_000);
    }
public void setDistanceLimit ( double limit ) { exploreType = DISTANCE ; this . limit = limit ; this . finishLimit = limit + Math . max ( limit * 0.14 , 2_000 ) ; }
Distance limit in meter