namespace RhythmBase.Events
{
///
/// Represents an event that plays an expression.
///
public class PlayExpression : BaseRowAnimation
{
///
/// Initializes a new instance of the class.
///
public PlayExpression()
{
Type = EventType.PlayExpression;
Tab = Tabs.Actions;
}
///
/// Gets or sets the expression to be played.
///
public string Expression { get; set; } = "";
///
/// Gets or sets a value indicating whether to replace the current expression.
///
public bool Replace { get; set; }
///
/// Gets the type of the event.
///
public override EventType Type { get; }
///
/// Gets the tab where the event is categorized.
///
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() + $" {Expression}";
}
}