protected void render(State state) {
		Graphics g = screen.getGraphics();
		g.setColor(background);
		g.fillRect(0, 0, applet.width, applet.height);
		
		state.render(g);
		
		if (getGraphics() != null) {
			getGraphics().drawImage(screen, 0, 0, this);
		}
	}