component storage doesnt need ID storage
parent
31083994ab
commit
1c184c0166
|
@ -11,7 +11,6 @@ internal abstract class ComponentStorage
|
|||
internal class ComponentStorage<TComponent> : ComponentStorage where TComponent : struct
|
||||
{
|
||||
private int nextID;
|
||||
private IDStorage idStorage = new IDStorage();
|
||||
private readonly Dictionary<int, int> entityIDToStorageIndex = new Dictionary<int, int>(16);
|
||||
private int[] entityIDs = new int[16];
|
||||
private TComponent[] components = new TComponent[16];
|
||||
|
|
Loading…
Reference in New Issue