예제 #1
0
 /// <summary>
 /// Private method to process the next queued music file.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private static void Events_MusicFinished(object sender, MusicFinishedEventArgs e)
 {
     if (MusicPlayer.IsPlaying == false)
     {
         if (CurrentMusic.QueuedMusic != null)
         {
             m_CurrentMusic = CurrentMusic.QueuedMusic;
             m_CurrentMusic.Play();
         }
     }
 }
예제 #2
0
 /// <summary>
 /// Private method to process the next queued music file.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private static void Events_MusicFinished(object sender, MusicFinishedEventArgs e)
 {
     if (MusicPlayer.IsPlaying == false)
     {
         if (CurrentMusic.QueuedMusic != null)
         {
             m_CurrentMusic = CurrentMusic.QueuedMusic;
             m_CurrentMusic.Play();
         }
     }
 }
예제 #3
0
파일: Sprite.cs 프로젝트: Blizz9/FanCut
 /// <summary>
 /// Process MusicFinishedEvents
 /// </summary>
 /// <param name="args">Event args</param>
 public virtual void Update(MusicFinishedEventArgs args)
 {
 }
예제 #4
0
 private void Events_MusicFinished(object sender, MusicFinishedEventArgs e)
 {
     // Switch the music....
     textDisplay.Text = SdlDotNetExamplesBrowser.StringManager.GetString(
                 "MusicSwitched", CultureInfo.CurrentUICulture);
     //Console.WriteLine("Music Finished");
 }