public boolean isSamePath(Room r1, Room r2) {
		if (r1.getCenterX() == start.x && r1.getCenterY() == start.y) {
			if (r2.getCenterX() == end.x && r2.getCenterY() == end.y)
				return true;
		} else if (r2.getCenterX() == start.x && r2.getCenterY() == start.y) {
			if (r1.getCenterX() == end.x && r1.getCenterY() == end.y)
				return true;
		}
		return false;
	}