public void applyOffset(float x, float y, Screen screen) {
		screen.setOffset(x, y);
		int xo = screen.xOff;
		int yo = screen.yOff;
		
		if(xo < 0) xo = 0;
		if(yo < 0) yo = 0;
		if(xo > width * 16 - screen.getWidth()) xo = width * 16 - screen.getWidth();
		if(yo > height * 16 - screen.getHeight() + 16) yo = height * 16 - screen.getHeight() + 16;
		
		screen.xOff = xo;
		screen.yOff = yo;
	}