Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
 public static void Initialize(SetLevelsDel levels)
 {
     SoundLibrary.Sound.Initialize(levels);
 }
Exemplo n.º 4
0
 public static void Initialize(SetLevelsDel levels)
 {
     levels.Invoke(8.0);
 }
Exemplo n.º 5
0
 public static void Initialize(SetLevelsDel levels)
 {
     // TODO check for null delegate
     levels.Invoke(8.0);
 }