/// <summary> /// Initializes a new XACTSound /// </summary> /// <param name="xactBase">The XACTBase to get the sound from</param> /// <param name="soundName">The name of the sound to use</param> public XACTSound(XACTBase xactBase, string soundName) { //Gets the cue from the XACT file sound = xactBase.soundBank.GetCue(soundName); }
/// <summary> /// Initializes a new XACTSound /// </summary> /// <param name="xactBase">The XACTBase to get the sound from</param> /// <param name="soundName">The name of the sound to use</param> public XACTSound(XACTBase xactBase, string soundName) { //Gets the cue from the XACT file sound = xactBase.soundBank.GetCue(soundName); }