oecs-sharp/OECS/ITickedSystem.cs

13 lines
330 B
C#
Raw Permalink Normal View History

namespace OECS;
/// <summary>
/// A system that receives tick data (delta time or logical tick) in addition
/// to the world reference.
/// </summary>
public interface ITickedSystem : ISystem
{
/// <summary>
/// Implement this with the system's ticked logic.
/// </summary>
void RunImpl(World world, Tick tick);
}