hasReacedDestination(threshold=THRESHOLD) {
        const { _x: x, _y: y, _destination: dest } = this;
        const { sqrt, pow } = Math;
        return sqrt(pow(x - dest.x, 2) + pow(y - dest.y, 2)) < threshold;
        // return Math.abs(this._x - this._destination.x) < threshold
        //     && Math.abs(this._y - this._destination.y) < threshold;
    } // hasReacedDestination
/**
     * Checks if this Circle has reached its destination.
     * @param {number} [threshold=THRESHOLD] the acceptable difference between this
     *                                       Circle's position and its destination
     * @return true if the destination has been reached; false otherwise
     */
Checks if this Circle has reached its destination.
@param {number} [threshold=THRESHOLD] the acceptable difference between this
Circle's position and its destination
@return true if the destination has been reached; false otherwise
Checks if this Circle has reached its destination . @param { number } [ threshold = THRESHOLD ] the acceptable difference between this Circle ' s position and its destination @return true if the destination has been reached ; false otherwise
hasReacedDestination(threshold=THRESHOLD) {
        const { _x: x, _y: y, _destination: dest } = this;
        const { sqrt, pow } = Math;
        return sqrt(pow(x - dest.x, 2) + pow(y - dest.y, 2)) < threshold;
    } 
hasReacedDestination ( threshold = THRESHOLD ) { const { _x : x , _y : y , _destination : dest } = this ; const { sqrt , pow } = Math ; return sqrt ( pow ( x - dest . x , 2 ) + pow ( y - dest . y , 2 ) ) < threshold ; }
Checks if this Circle has reached its destination.
Checks if this Circle has reached its destination .
// return Math.abs(this._x - this._destination.x) < threshold //     && Math.abs(this._y - this._destination.y) < threshold; // hasReacedDestination