Ejemplo n.º 1
0
        public static void playSound(string path, float volume = 0.75f)
        {
            audioFile au = new audioFile(contentManager.Load <SoundEffect>(path), path);

            au.playFile(volume);
        }
Ejemplo n.º 2
0
 public static void playSound(string path, float volume = 0.75f)
 {
     audioFile au = new audioFile(contentManager.Load<SoundEffect>(path), path);
     au.playFile(volume);
 }