Browse Source

rename Preallocate to PreallocateEntitySlots

tags/Rel2b2
sebas77 6 years ago
parent
commit
101a80901f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Svelto.ECS/EnginesRootEntities.cs
  2. +1
    -1
      Svelto.ECS/IEnginesInterfaces.cs

+ 1
- 1
Svelto.ECS/EnginesRootEntities.cs View File

@@ -331,7 +331,7 @@ namespace Svelto.ECS
_weakEngine.Target.BuildEntityInGroup(entityID, groupID, entityDescriptor, implementors);
}

public void Preallocate<T>(int size) where T : IEntityDescriptor, new()
public void PreallocateEntitySlots<T>(int size) where T : IEntityDescriptor, new()
{
_weakEngine.Target.Preallocate<T>(size);
}


+ 1
- 1
Svelto.ECS/IEnginesInterfaces.cs View File

@@ -2,7 +2,7 @@ namespace Svelto.ECS
{
public interface IEntityFactory
{
void Preallocate<T>(int size) where T : IEntityDescriptor, new();
void PreallocateEntitySlots<T>(int size) where T : IEntityDescriptor, new();

void BuildEntity<T>(int entityID, object[] implementors) where T:IEntityDescriptor, new();
void BuildEntity(int entityID, IEntityDescriptorInfo entityDescriptorInfo, object[] implementors);


Loading…
Cancel
Save