add Update to System
parent
1ec9b9966c
commit
4f7307d29e
|
@ -2,11 +2,13 @@
|
|||
|
||||
namespace MoonTools.ECS.Rev2.Compatibility;
|
||||
|
||||
public class System : Manipulator
|
||||
public abstract class System : Manipulator
|
||||
{
|
||||
public FilterBuilder FilterBuilder => World.FilterBuilder;
|
||||
|
||||
public System(World world) : base(world) { }
|
||||
protected System(World world) : base(world) { }
|
||||
|
||||
public abstract void Update();
|
||||
|
||||
protected ReadOnlySpan<T> ReadMessages<T>() where T : unmanaged => World.ReadMessages<T>();
|
||||
protected T ReadMessage<T>() where T : unmanaged => World.ReadMessage<T>();
|
||||
|
|
Loading…
Reference in New Issue