contains(x, y) {
    return x >= this.minX && x < this.maxX && y >= this.minY && y < this.maxY;
  }
Returns whether this rectangle contains the given coordinates,
using the default containment check, which includes the
minimum point, but excludes the maximum point

@param {number} x The x-coordinate
@param {number} y The y-coordinate
@returns {boolean} The result