BITFALL/Assets/BITKit/Core/Ticker/ITicker.cs

15 lines
325 B
C#
Raw Normal View History

2023-08-12 01:43:24 +08:00
using System;
namespace BITKit
{
public interface ITicker
{
2023-12-15 00:08:02 +08:00
ulong TickCount { get; }
2023-08-12 01:43:24 +08:00
void Add(Action action);
2023-12-15 00:08:02 +08:00
void Add(Action<float> action);
void Remove(Action<float> action);
2023-08-12 01:43:24 +08:00
}
public interface IMainTicker : ITicker { }
public interface IThreadTicker : ITicker { }
}