/// <summary> /// A check to see if a spacific sound is playing. /// </summary> /// <param name="soundName">The name of the sound to check.</param> /// <returns>The result of the check.</returns> public static bool IsPlaying(String soundName) { Cue c = soundBank.GetCue(soundName); foreach (Cue cu in cueSounds) { if (c.ToString() == cu.ToString()) { if (cu.IsPlaying) { return(true); } } } return(false); }
public string GetName() { return(MyAction.ToString() + "-" + MyCue.ToString() + "-" + MyDirection.ToString()); }