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