diff --git a/src/EcsWorld.cs b/src/EcsWorld.cs index 8ed5619..cea3950 100644 --- a/src/EcsWorld.cs +++ b/src/EcsWorld.cs @@ -12,14 +12,14 @@ namespace DCFApixels.DragonECS public interface IEcsWorld { - //private float _timeScale;//TODO реализовать собсвенныйтайм склей для разных миров - #region Properties + //private float _timeScale;//TODO реализовать собсвенныйтайм склей для разных миров public bool IsEmpty { get; } public Type ArchetypeType { get; } public int ID { get; } #endregion + #region Methods public EcsPool GetPool() where T : struct; public EcsFilter GetFilter() where TInc : struct, IInc; public EcsFilter GetFilter() where TInc : struct, IInc where TExc : struct, IExc; @@ -32,6 +32,7 @@ namespace DCFApixels.DragonECS internal void OnEntityComponentAdded(int entityID, int changedPoolID); internal void OnEntityComponentRemoved(int entityID, int changedPoolID); + #endregion } public static class IEcsWorldExt @@ -42,7 +43,6 @@ namespace DCFApixels.DragonECS } } - public abstract class EcsWorld { internal static IEcsWorld[] Worlds = new IEcsWorld[8];