This repository has been archived on 2025-10-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
RDTKEditor/RhythmBaseCore/Components/Conditions/TimesExecutedCondition.cs
T

27 lines
668 B
C#

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