public boolean isColliding(Rectangle rect, TileType type) {
		for (int i = 0; i < tileList.size(); i++) {
			if (type == tileList.get(i).getType()) {
				if (rect.intersects(tileList.get(i).getRect())) {
					return true;
				}
			}
		}
		return false;
	}