16 lines
409 B
C#
16 lines
409 B
C#
using System;
|
|
|
|
namespace BITKit
|
|
{
|
|
public interface ITicker
|
|
{
|
|
void Add(Action action);
|
|
void AddUpdate(Action<float> action);
|
|
void AddFixedUpdate(Action<float> action);
|
|
void RemoveUpdate(Action<float> action);
|
|
void RemoveFixedUpdate(Action<float> action);
|
|
}
|
|
public interface IMainTicker : ITicker { }
|
|
public interface IThreadTicker : ITicker { }
|
|
}
|