slight component manager optimization
parent
28f2ba969a
commit
a2d29a6591
|
@ -30,7 +30,6 @@ namespace Encompass
|
|||
{
|
||||
existingComponentStore.ClearAll();
|
||||
immediateComponentStore.ClearAll();
|
||||
UpToDateComponentStore.ClearAll();
|
||||
}
|
||||
|
||||
internal void SetStartingComponentStore(ComponentStore componentStore)
|
||||
|
@ -41,7 +40,6 @@ namespace Encompass
|
|||
internal void AddExistingComponent<TComponent>(Entity entity, TComponent component) where TComponent : struct, IComponent
|
||||
{
|
||||
existingComponentStore.Set(entity.ID, component);
|
||||
UpToDateComponentStore.Set(entity.ID, component);
|
||||
}
|
||||
|
||||
internal bool AddImmediateComponent<TComponent>(Entity entity, TComponent component, int priority) where TComponent : struct, IComponent
|
||||
|
|
Loading…
Reference in New Issue