Mirror of Svelto.ECS because we're a fan of it
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

33 wiersze
676B

  1. using System.Collections.Generic;
  2. using Svelto.DataStructures;
  3. namespace Svelto.ECS
  4. {
  5. public interface IStepEngine : IEngine
  6. {
  7. void Step();
  8. string name { get; }
  9. }
  10. public interface IStepEngine<T> : IEngine
  11. {
  12. void Step(in T param);
  13. string name { get; }
  14. }
  15. public interface IGroupEngine
  16. {
  17. public IEnumerable<IEngine> engines { get; }
  18. }
  19. //this must stay IStepEngine as it may be part of a group itself
  20. public interface IStepGroupEngine : IStepEngine, IGroupEngine
  21. {
  22. }
  23. public interface IStepGroupEngine<T> : IStepEngine<T>, IGroupEngine
  24. {
  25. }
  26. }