private void _play(CSound file)
 {
     if (file != null)
     {
         if (file.sfx != null)
             file.sfx.Play();
         else if (file.sfxInstance != null)
         {
             if ((file.track != false) && (file.sfxInstance.State != SoundState.Playing))
                 file.sfxInstance.Play();
             else //we don't care if it's playing or not, just dooooo it!
                 file.sfxInstance.Play();
         }
         else if (file.song != null)
         {
             _song = file;
             MediaPlayer.IsRepeating = file.loop;
             MediaPlayer.Play(_song.song);
         }
     }
     else
         throw new FormatException("The CSound passed did not contain any valid audio information.");
 }
 public void addSfx(CSound sfx)
 {
     _effects.Add(sfx);
 }