public void renderPortionWithOffset(int sx, int sy, int rWidth, int rHeight, float xOff, float yOff, ArrayList<SpriteSheet> sh) {
		for (int i = sy; i < rHeight + sy; i++) { // cols
			for (int j = sx; j < rWidth + sx; j++) { // rows
				int xt;
				int yt;

				if (tiles[i][j].getTileID() != 0) {
					if (tiles[i][j].getTileID() < 1025) {
						xt = tiles[i][j].getTileID() % sh.get(0).getNumTilesX() - 1;
						yt = (int) Math.floor(tiles[i][j].getTileID() / sh.get(0).getNumTilesY());

						sh.get(0).getSubImages()[yt][xt].draw((j * 64) - (int) xOff, (i * 64) - (int) yOff);
					} else if(tiles[i][j].getTileID() >= 1025) {
						xt = (tiles[i][j].getTileID() - 1024) % sh.get(1).getNumTilesX() - 1;
						yt = (int) Math.floor((tiles[i][j].getTileID() - 1024) / sh.get(1).getNumTilesY());

						sh.get(1).getSubImages()[yt][xt].draw((j * 64) - (int) xOff, (i * 64) - (int) yOff);
					}
				}
			}
		}
	}