Browse Source

improve class names

tags/Rel25b
sebas77 6 years ago
parent
commit
a2968f7442
3 changed files with 11 additions and 11 deletions
  1. +2
    -2
      Svelto.ECS/EnginesRoot.Engines.cs
  2. +9
    -0
      Svelto.ECS/IQueryingEntitiesEngine.cs
  3. +0
    -9
      Svelto.ECS/IQueryingEntityViewEngine.cs

+ 2
- 2
Svelto.ECS/EnginesRoot.Engines.cs View File

@@ -61,10 +61,10 @@ namespace Svelto.ECS
else
_otherEngines.Add(engine);
var queryableEntityViewEngine = engine as IQueryingEntityViewEngine;
var queryableEntityViewEngine = engine as IQueryingEntitiesEngine;
if (queryableEntityViewEngine != null)
{
queryableEntityViewEngine.EntityDb = _DB;
queryableEntityViewEngine.entitiesDB = _DB;
queryableEntityViewEngine.Ready();
}
}


+ 9
- 0
Svelto.ECS/IQueryingEntitiesEngine.cs View File

@@ -0,0 +1,9 @@
namespace Svelto.ECS
{
public interface IQueryingEntitiesEngine : IEngine
{
IEntityDB entitiesDB { set; }

void Ready();
}
}

+ 0
- 9
Svelto.ECS/IQueryingEntityViewEngine.cs View File

@@ -1,9 +0,0 @@
namespace Svelto.ECS
{
public interface IQueryingEntityViewEngine : IEngine
{
IEntityDB EntityDb { set; }

void Ready();
}
}

Loading…
Cancel
Save