Rect Obstacle2D
Builds a new RectObstacle2D, given a point, the width and the height.
Parameters
x
x coordinate of the starting point
y
y coordinate of the starting point
w
the rectangle width. Can be negative.
h
the rectangle height. Can be negative.