using RhythmBase.Components; namespace RhythmBase.Events { /// /// Represents an event for reading narration. /// public class ReadNarration : BaseEvent { /// /// Initializes a new instance of the class. /// public ReadNarration() { Type = EventType.ReadNarration; Tab = Tabs.Actions; } /// /// Gets the type of the event. /// public override EventType Type { get; } /// /// Gets or sets the text of the narration. /// public string Text { get; set; } = ""; /// /// Gets or sets the category of the narration. /// public NarrationCategory Category { get; set; } /// /// Gets the tab associated with the event. /// public override Tabs Tab { get; } /// /// Returns a string that represents the current object. /// /// A string that represents the current object. public override string ToString() => base.ToString() + string.Format(" {0}", Text); /// /// Specifies the category of the narration. /// public enum NarrationCategory { /// /// Fallback category. /// Fallback, /// /// Navigation category. /// Navigation, /// /// Instruction category. /// Instruction, /// /// Notification category. /// Notification, /// /// Dialogue category. /// Dialogue, /// /// Description category. /// Description = 6, /// /// Subtitles category. /// Subtitles } } }