|
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);
|
|
} |