20 lines
511 B
C#
20 lines
511 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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 { }
|
|
}
|