public void render(int Xscroll, int Yscroll, Screen screen){
		
		screen.setOffset(Xscroll, Yscroll);
		int x0 = Xscroll >> 4;
		int x1 = (Xscroll + screen.width + 16) >> 4;
		int y0 = Yscroll >> 4;
		int y1= (Yscroll + screen.height  + 16) >> 4;
		 
		for(int y = y0; y < y1; y++){
			for(int x = x0; x < x1; x++){
				getTile(x, y).render(x, y , screen);
				
			}
		}
	}