public static boolean checkPlaceRoomBounds(int x, int y, Room room,
			int ratioX, int ratioY, int rotation) {
		if (x == 0 && room.hasWestDoor(rotation))
			return false;
		if (y == 0 && room.hasSouthDoor(rotation))
			return false;
		if (x == ratioX - 1 && room.hasEastDoor(rotation))
			return false;
		if (y == ratioY - 1 && room.hasNorthDoor(rotation))
			return false;
		return true;
	}