Esempio n. 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);
        }
Esempio n. 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);
 }