private void renderVisibleObjects(Graphics g) {
		for (VisibleObject object : objectsToRender) {
			if (!(object instanceof AnimationBasedVisualEffect)) {
				object.render(g);
				
			}
		}
		for (VisibleObject object : objectsToRender) {
			if (object instanceof AnimationBasedVisualEffect) {
				object.render(g);
			}
		}
		for (VisibleObject object : objectsToRender) {
			object.renderExtraVisuals(g);
		}
	}