Example #1
0
 public void NormalModeActivate()
 {
     if (emergencyLights.GetLightState() == LightsState.Emergency)
     {
         switchAcitve.PlayPowerOnSound();
     }
     emergencyLights.SetLightState(LightsState.Normal);
 }
Example #2
0
 public void UseGenerator()
 {
     switchAcitve.PlayPowerOnSound();
     emergencyLights.SetLightState(LightsState.Emergency);
 }