public void PlaySong(F songReference) { currentSong = SongLibrary.GetSong(songReference); if (!IsMuted) { MediaPlayer.Play(currentSong); } MediaPlayer.IsRepeating = true; }
public SoundManager(SoundEffectLibrary <E> soundEffectLibrary, SongLibrary <F> songLibrary) { this.SoundEffectLibrary = soundEffectLibrary; this.SongLibrary = songLibrary; }