Beispiel #1
0
        public static void playDelayedInterfaceSound(string tag, int delayMS)
        {
            DelayedSound item = new DelayedSound {
                tag      = tag,
                playTime = DateTime.Now.AddMilliseconds((double)delayMS)
            };

            delayedSounds.Add(item);
        }
Beispiel #2
0
 public static void playDelayedInterfaceSound(string tag, int delayMS)
 {
     DelayedSound item = new DelayedSound {
         tag = tag,
         playTime = DateTime.Now.AddMilliseconds((double) delayMS)
     };
     delayedSounds.Add(item);
 }