public static boolean areTilesConnected(Tile from, Tile to) {
		if(to.getImageName().equals("Water") || from.getImageName().equals("Water")){
			return false;
		}

		if(from.getHeight() != to.getHeight()) {
			if(from.getHeight() - 1 == to.getHeight()) {
				if(!(to.getStructure() instanceof Ramp))
					return false;
				if(((Ramp)to.getStructure()).getDirection() != Direction.getDirectionBetween(to, from)) {
					return false;
				}

			} else if(from.getHeight() + 1 == to.getHeight()) {
				if(!(from.getStructure() instanceof Ramp))
					return false;
				if(((Ramp)from.getStructure()).getDirection() != Direction.getDirectionBetween(from, to))
					return false;

			} else {
				return false;
			}
		}

		return true;
	}