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.
|
- using Svelto.ECS.Internal;
-
- namespace Svelto.ECS
- {
- static class TypeSafeDictionaryFactory<T> where T : struct, IEntityComponent
- {
- public static ITypeSafeDictionary Create()
- {
- return new TypeSafeDictionary<T>(1);
- }
-
- public static ITypeSafeDictionary Create(uint size)
- {
- return new TypeSafeDictionary<T>(size);
- }
- }
- }
|