private boolean isAdjacent(Room[][] rooms2, int y, int x) {
		if (currentX == 0){
			if (currentY == 0){
				if (x == currentX + 1 && y == currentY)
					return true;
				else if (x == currentX && y == currentY + 1)
					return true;
			} else if (currentY == 14){
				if (x == currentX + 1 && y == currentY)
					return true;
				else if (x == currentX && y == currentY - 1)
					return true;
			} else {
				if (x == currentX + 1 && y == currentY)
					return true;
				else if (x == currentX && y == currentY + 1)
					return true;
				else if (x == currentX && y == currentY - 1)
					return true;
			}
		} else if (currentX == 10){
			if (currentY == 0){
				if (x == currentX - 1 && y == currentY)
					return true;
				else if (x == currentX && y == currentY + 1)
					return true;
			} else if (currentY == 14){
				if (x == currentX - 1 && y == currentY)
					return true;
				else if (x == currentX && y == currentY - 1)
					return true;
			} else {
				if (x == currentX - 1 && y == currentY)
					return true;
				else if (x == currentX && y == currentY - 1)
					return true;
				else if (x == currentX && y == currentY + 1)
					return true;
			}
		} else {
			if (currentY == 0){
				if (x == currentX - 1 && y == currentY)
					return true;
				else if (x == currentX + 1 && y == currentY)
					return true;
				else if (x == currentX && y == currentY + 1)
					return true;
			} else if (currentY == 14){
				if (x == currentX - 1 && y == currentY)
					return true;
				else if (x == currentX + 1 && y == currentY)
					return true;
				else if (x == currentX && y == currentY - 1)
					return true;
			} else {
				if (x == currentX - 1 && y == currentY)
					return true;
				else if (x == currentX + 1 && y == currentY)
					return true;
				else if (x == currentX && y == currentY - 1)
					return true;
				else if (x == currentX && y == currentY + 1)
					return true;
			}
		}
		return false;
	}