BITKit/Src/Core/Ticker/ITicker.cs

15 lines
325 B
C#
Raw Normal View History

2023-06-05 19:57:17 +08:00
using System;
namespace BITKit
{
public interface ITicker
{
2024-03-31 23:31:00 +08:00
ulong TickCount { get; }
2023-06-05 19:57:17 +08:00
void Add(Action action);
2024-03-31 23:31:00 +08:00
void Add(Action<float> action);
void Remove(Action<float> action);
2023-06-05 19:57:17 +08:00
}
public interface IMainTicker : ITicker { }
public interface IThreadTicker : ITicker { }
}