@staticmethod
def are_rooms_adjacent(room1, room2):
    """ See if two rooms are next to each other. """
    adj_rows = []
    adj_cols = []
    for r in range(room1.row, room1.row + room1.height):
        if room2.row <= r < room2.row + room2.height:
            adj_rows.append(r)
    for c in range(room1.col, room1.col + room1.width):
        if room2.col <= c < room2.col + room2.width:
            adj_cols.append(c)
    return adj_rows, adj_cols
