Example #1
0
 public void RemoveAllAlarmsForModule(FailureModule fm)
 {
     print ("[DangIt] [AlarmManager] Removing alarms...");
     if (this.loops.Keys.Contains (fm))
     {
         fm.AlarmsDoneCallback ();
         loops.Remove (fm);
     }
 }
Example #2
0
 public void RemoveAllAlarmsForModule(FailureModule fm)
 {
     print("[DangIt] [AlarmManager] Removing alarms...");
     if (this.loops.Keys.Contains(fm))
     {
         fm.AlarmsDoneCallback();
         loops.Remove(fm);
     }
 }
Example #3
0
 public void RemoveAllAlarmsForModule(FailureModule fm)
 {
     audioSource.audio.volume = 0;
     Logger.Info("[DangIt] [AlarmManager] Removing alarms...");
     if (this.loops.Keys.Contains(fm))
     {
         fm.AlarmsDoneCallback();
         loops.Remove(fm);
     }
 }