function collisions.check_rectangles_overlap(a, b)
local overlap = false
if not(
a.x + a.width < b.x or
b.x + b.width < a.x or
a.y + a.height < b.y or
b.y + b.height < a.y
) then
overlap = true
end
return overlap
end