private void renderTiles(int xOffs, int yOffs, Screen screen) {
		if(xOffs < 0) xOffs = 0;
		if(yOffs < 0) yOffs = 0;
		if(xOffs > ((w << Game.TILE_SIZE) - screen.w)) xOffs = (w << Game.TILE_SIZE) - screen.w;
		if(yOffs > ((h << Game.TILE_SIZE) - screen.h)) yOffs = (h << Game.TILE_SIZE) - screen.h;

		screen.setOffs(xOffs, yOffs);
		
		for(int y = yOffs >> Game.TILE_SIZE; y < ((yOffs + screen.h) >> Game.TILE_SIZE) + 2; y++) {
			for(int x = xOffs >> Game.TILE_SIZE; x < ((xOffs + screen.w) >> Game.TILE_SIZE) + 2; x++) {
				getTile(x, y).render(x << Game.TILE_SIZE, y << Game.TILE_SIZE, screen);
			}
		}
	}