public void renderVisible(GL2 device, int x, int y, int w, int h) {
		int endx = x + w;
		int endy = y + h;
		for(; x < endx; x++)
			for(; y < endy; y++)
			{
				mapGrid[x][y].terrain.render(device);
				mapGrid[x][y].terrainObj.render(device);
				mapGrid[x][y].entity.render(device);
			}
	}