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.

IEntityComponent.cs 443B

12345678910111213141516
  1. namespace Svelto.ECS
  2. {
  3. ///<summary>Entity Components MUST implement IEntityComponent</summary>
  4. public interface IEntityComponent
  5. {
  6. }
  7. /// <summary>
  8. /// use INeedEGID on an IEntityComponent only if you need the EGID. consider using EGIDComponent instead
  9. /// </summary>
  10. public interface INeedEGID
  11. {
  12. //The set is used only for the framework, but it must stay there
  13. EGID ID { get; set; }
  14. }
  15. }