setCenter(x, y) {
    this.center.x = x;
    this.center.y = y;
  }
Sets the center of the circle.
@param {number} x - The new x-coordinate of the center.
@param {number} y - The new y-coordinate of the center.