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.

17 lines
543B

  1. using System;
  2. using System.Collections.Generic;
  3. using Svelto.ECS.Internal;
  4. namespace Svelto.ECS
  5. {
  6. public interface IComponentBuilder
  7. {
  8. void BuildEntityAndAddToList(ITypeSafeDictionary dictionary, EGID egid, IEnumerable<object> implementors);
  9. void Preallocate(ITypeSafeDictionary dictionary, uint size);
  10. ITypeSafeDictionary CreateDictionary(uint size);
  11. Type GetEntityComponentType();
  12. bool isUnmanaged { get; }
  13. ComponentID getComponentID { get; }
  14. }
  15. }