private void renderGame() {
	BufferStrategy bs = this.getBufferStrategy();

	if (bs == null) {
	    this.createBufferStrategy(3);
	    return;
	}

	Graphics g = bs.getDrawGraphics();
	Graphics2D g2d = (Graphics2D) g;

	g.setColor(Color.black);
	g.fillRect(0, 0, getWidth(), getHeight());

	g2d.translate(cam.getX(), cam.getY());

	handler.renderObjects(g);

	g2d.translate(-cam.getX(), -cam.getY());

	g.dispose();
	bs.show();
    }