/// <summary> /// Applies a particular Jfx to this JSong. /// </summary> /// <param name="effect">The Jfx to be applied.</param> public void ApplyJfx(Jfx effect) { cached = properties; properties.Volume += effect.ChangeInVolume; properties.Pitch += effect.PitchChange; properties.Tempo += effect.TempoChange; }
/// <summary> /// Sets the properties of the Jsong /// to the properties it previously had. /// </summary> public void Revert() { properties = cached; }