protected void doubleBufferedPaint(Graphics2D g)
	{
		g.setColor(engineSettings.getBackgroundColor());
		g.fillRect(0, 0, this.getWidth(), this.getHeight());
		
		for(EngineEntity e : entities.values())
			e.draw(g);
	}