smrendererv3/SMCode/SM.Base/Time/Interval.cs
Michel Fedde 9b917ac181 + comments to the SM.Base
+ Length, Normalize methods for CVectors
2020-12-19 20:49:16 +01:00

32 lines
No EOL
593 B
C#

#region usings
using System;
using SM.Base.Contexts;
#endregion
namespace SM.Base.Time
{
/// <summary>
/// Performs intervals.
/// </summary>
public class Interval : Timer
{
/// <inheritdoc />
public Interval(float seconds) : base(seconds)
{
}
/// <inheritdoc />
public Interval(TimeSpan timeSpan) : base(timeSpan)
{
}
/// <inheritdoc />
protected override void Stopping(UpdateContext context)
{
TriggerEndAction(context);
Reset();
}
}
}