13 lines
328 B
C#
13 lines
328 B
C#
|
|
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>
|
||
|
|
/// Executes the system logic with tick information.
|
||
|
|
/// </summary>
|
||
|
|
void Run(World world, Tick tick);
|
||
|
|
}
|