namespace RhythmBase.Components.Conditions
{
///
/// Represents a condition based on the number of times it has been executed.
///
public class TimesExecutedCondition : BaseConditional
{
///
/// Initializes a new instance of the class.
///
public TimesExecutedCondition()
{
Type = ConditionType.TimesExecuted;
}
///
/// Gets or sets the maximum number of executions allowed.
///
public int MaxTimes { get; set; }
///
/// Gets the type of the condition.
///
public override ConditionType Type { get; }
}
}