public void SetBackgroundMusic(Music music) { var fileName = FileNames.GetMusicFileName(music); StopBackgroundMusic(); Player = new SoundPlayer(fileName); Player.PlayLooping(); }
public void SetBackgroundMusic(Music music) { var fileName = FileNames.GetMusicFileName(music); StopBackgroundMusic(); Player = new SoundPlayer(fileName); Player.PlayLooping(); }