Example #1
0
 public void StopPlaying()
 {
     if (IsPlaying())
     {
         PlayItem = null;
     }
 }
Example #2
0
 public void Play(PlayItem playItem)
 {
     StopPlaying();
     PlayItem = playItem;
     PlayItem.Play();
 }
Example #3
0
 public void Play(PlayItem playItem) => Player.Play(playItem);