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