/// <summary> /// Removes the given listener from the text advancement events. /// </summary> public void RemoveListener(IParagraphAdvanceEventListener listener) { FastForwardEvent -= listener.FastForward; NextParagraphEvent -= listener.NextParagraph; }
/// <summary> /// Adds the given listener to the text advancement events. /// </summary> public void AddListener(IParagraphAdvanceEventListener listener) { FastForwardEvent += listener.FastForward; NextParagraphEvent += listener.NextParagraph; }