2026-07-18 19:33:05 +08:00
|
|
|
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>
|
2026-07-21 09:45:49 +08:00
|
|
|
/// Implement this with the system's ticked logic.
|
2026-07-18 19:33:05 +08:00
|
|
|
/// </summary>
|
2026-07-21 09:45:49 +08:00
|
|
|
void RunImpl(World world, Tick tick);
|
2026-07-18 19:33:05 +08:00
|
|
|
}
|