Checks for collision detection.
An object with x, y, width and height.
Whether the areas are colliding.
Checks for collision detection.