public void StartCombat() { if (sL1 != null && !SoundEffectSong.IsPlaying(currentLayer)) { SoundEffectSong.ClearSongs(); currentLayer = regionLayerCombatSong.StartPlay(); } }
public void StartNonCombat() { if (nonCombatSES != null) { SoundEffectSong.ClearSongs(); SoundEffectSong.Start(nonCombatSES); } //if (nonCombatSong != null && lastNonCombatSong != nonCombatSong) //{ // MediaPlayer.Play(nonCombatSong); // lastNonCombatSong = nonCombatSong; // MediaPlayer.IsRepeating = true; //} }