BBRect(int x, int y, int w, int h)
x : int
y : int
width : int
height : int
contains(int x, int y) : bool
BBRect(int x, int y, int w, int h)
Constructs a rectangle with the given x coordinate, y coordinate, width, and height.
x : int
The x coordinate of the rectangle.
y : int
The y coordinate of the rectangle.
width : int
The width of the rectangle.
height : int
The height of the rectangle.
contains(int x, int y) : bool
Returns true if the point falls in or on the rectangle and false otherwise.