Archived
forked from RDTKEditor/RDTKEditor
添加对 Core 的直接引用
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user