Exemple #1
0
 public static void Initialize(SetLevelsDel levels)
 {
     try {
         SoundLibrary.Sound.Initialize(levels);
     } catch (SoundSystemException ex) {
         throw new BenignException("Sorry we are experiencing difficulties with the sound system", ex);
     }
 }
Exemple #2
0
 public static void Initialize(SetLevelsDel levels)
 {
     if (levels == null)
     {
         throw new SoundSystemException("passed in delegate was null. Some sensitive information is also present in the message");
     }
     levels.Invoke(8.0);
 }
Exemple #3
0
 public static void Initialize(SetLevelsDel levels)
 {
     SoundLibrary.Sound.Initialize(levels);
 }
Exemple #4
0
 public static void Initialize(SetLevelsDel levels)
 {
     levels.Invoke(8.0);
 }
Exemple #5
0
 public static void Initialize(SetLevelsDel levels)
 {
     // TODO check for null delegate
     levels.Invoke(8.0);
 }