I am creating a Roguelike dungeon generator, and part of this involves checking if a room (which is represented by x1, y1, x2, y2) "collides" with another room. If this is the case, the room will be regenerated. I've tried Googling a bit, but I've yet to find anything that works. Here is some code based off of what I found online, but it always seems to return true.I am creating a Roguelike dungeon generator, an