update({ width: maxHorizontal, height: maxVertical }={}) {
        switch (this._behavior) {
        case CircleBehavior.AMBIENT:
            this._handleAmbient(maxHorizontal, maxVertical);
            break;
        case CircleBehavior.ORBITING:
            this._handleOrbiting();
            break;
        case CircleBehavior.TRAVELING:
            this._handleTraveling();
            break;
        } // switch
    } // update
/**
     * Updates this Circle's x and y
     * coordinates based on its velocities
     * and/or behavior.
     *
     * @param {number} bounds.width  the width of the container
     * @param {number} bounds.height the height of the container
     */
Updates this Circle's x and y
coordinates based on its velocities
and/or behavior.

@param {number} bounds.width  the width of the container
@param {number} bounds.height the height of the container
Updates this Circle ' s x and y coordinates based on its velocities and / or behavior . @param { number } bounds . width the width of the container @param { number } bounds . height the height of the container
update({ width: maxHorizontal, height: maxVertical }={}) {
        switch (this._behavior) {
        case CircleBehavior.AMBIENT:
            this._handleAmbient(maxHorizontal, maxVertical);
            break;
        case CircleBehavior.ORBITING:
            this._handleOrbiting();
            break;
        case CircleBehavior.TRAVELING:
            this._handleTraveling();
            break;
        } 
    } 
update ( { width : maxHorizontal , height : maxVertical } = { } ) { switch ( this . _behavior ) { case CircleBehavior . AMBIENT : this . _handleAmbient ( maxHorizontal , maxVertical ) ; break ; case CircleBehavior . ORBITING : this . _handleOrbiting ( ) ; break ; case CircleBehavior . TRAVELING : this . _handleTraveling ( ) ; break ; } }
Updates this Circle's x and y
 coordinates based on its velocities
 and/or behavior.
Updates this Circle ' s x and y coordinates based on its velocities and / or behavior .
// switch // update