mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 18:14:37 +08:00
17 lines
433 B
C#
17 lines
433 B
C#
namespace DCFApixels.DragonECS
|
|
{
|
|
public abstract class EcsQueryExecutor
|
|
{
|
|
private EcsWorld _world;
|
|
public EcsWorld World => _world;
|
|
internal void Initialize(EcsWorld world)
|
|
{
|
|
_world = world;
|
|
OnInitialize();
|
|
}
|
|
internal void Destroy() => OnDestroy();
|
|
protected abstract void OnInitialize();
|
|
protected abstract void OnDestroy();
|
|
}
|
|
}
|