oecs-sharp/OECS/ISystem.cs

13 lines
290 B
C#

namespace OECS;
/// <summary>
/// A system that runs on every tick.
/// Systems receive the world in their <see cref="Run"/> method.
/// </summary>
public interface ISystem
{
/// <summary>
/// Executes the system logic for this tick.
/// </summary>
void Run(World world);
}