public void paint(Graphics g, int xstart, Point2D.Float protPos) {
		int xstop = xstart + ScreenController.SCREEN_WIDTH;
		
		int start = (int)(xstart/blockSize);
		int stop = (int)(xstop/blockSize) + 2;
		if (start < 0) {
			start = 0;
		}
		if (stop >= blocks.length) {
			stop = blocks.length - 1;
		}
		for (int i = start; i <= stop; i++) {
			for (Block b : blocks[i]) {
				b.setRelativeLocation(protPos);
				b.paint(g);
			}
	        for (Boulder b : boulders[i]) {
	            b.setRelativeLocation(protPos);
	            b.paint(g);
	        }
		}
	}