public void RegisterPoweredLight(PoweredLight light) { _poweredLights.Add(light); if (light.IsEmergencyLight) { light.SetLit(!HasPower, immediately: true); } else { light.SetLit(HasPower, immediately: true); } }