Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
685B

  1. using Svelto.ECS.Internal;
  2. namespace Svelto.ECS.Internal
  3. {
  4. public interface IActivableNodeEngine : IEngine
  5. {
  6. void Enable(INode obj);
  7. void Disable(INode obj);
  8. }
  9. public interface INodeEngine : IEngine
  10. {
  11. void Add(INode obj);
  12. void Remove(INode obj);
  13. }
  14. public interface INodesEngine : INodeEngine
  15. {
  16. System.Type[] AcceptedNodes();
  17. }
  18. }
  19. namespace Svelto.ECS
  20. {
  21. public interface IEngine
  22. {}
  23. public interface IActivableNodeEngine<in TNodeType> : IActivableNodeEngine where TNodeType : INode
  24. { }
  25. public interface IQueryableNodeEngine:IEngine
  26. {
  27. IEngineNodeDB nodesDB { set; }
  28. }
  29. }