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.

13 lines
370B

  1. namespace Svelto.ECS.Internal
  2. {
  3. static class TypeSafeDictionaryUtilities
  4. {
  5. internal static EGIDMapper<T> ToEGIDMapper<T>(this ITypeSafeDictionary<T> dic,
  6. ExclusiveGroupStruct groupStructId) where T:struct, IEntityComponent
  7. {
  8. var mapper = new EGIDMapper<T>(groupStructId, dic);
  9. return mapper;
  10. }
  11. }
  12. }