public void render(Screen screen) {
		Player player = game.player;
		level.applyOffset(player.getX() + player.getW() / 2, player.getY() + player.getH() / 2, screen);
		
		if(screen.lightingEnabled) {
			level.preRender(screen);
		}
		
		level.renderBackground(screen, (int)player.getX() + player.getW() / 2, (int)player.getY() + player.getH() / 2);
		level.renderSprites(screen);
		
		game.renderInterface();
		screen.fade(100);
		
		screen.clearOffset();
		
		int i = 0;
		for(String s : inventories.keySet()) {
			if(s == selectedInvName) {
				screen.renderRect(0, 52+i*26, 60, 12, 0x7f7f7f, false);
			}
			Font.render(s, screen, 0, 53 + i * 26);
			i++;
		}
		
		inventory.renderGrid(screen, 60, 22);
		if(mouseItem != null) {
			mouseItem.render(screen, mouse.getxPos() - 8, mouse.getyPos() - 8);
			String name = "";
			if(mouseItem instanceof ResourceItem) {
				name = ((ResourceItem)mouseItem).getResource().getName();
			} else {
				name = mouseItem.getName();
			}
			Font.render(name, screen, mouse.getxPos() - (name.length() * 5), mouse.getyPos() - 20);
		}
		
		super.render(screen);
	}