Returns whether this rectangle intersects with other.
other
bool intersects(Rect other) { return x < other.right && right > other.x && y < other.bottom && bottom > other.y; }