private void disableLights() throws SimulationContextException {
Iterator<IActuator> lights = this.lights.iterator();
while (lights.hasNext()) {
LightingActuator light = (LightingActuator) lights.next();
if (light.getState() == IActuator.ACTIVE) {
light.disable();
notifyListeners("light " + light.getId() + " disabled");
}
}
}