code: public void remove(boolean doDispose) {
  		if (active) {
  			rayHandler.lightList.removeValue(this, false);
  		} else {
  			rayHandler.disabledLights.removeValue(this, false);
  		}
  		rayHandler = null;
  		if (doDispose) dispose();
  	}
docs: Removes light from specified RayHandler and disposes it if requested