component storage doesnt need ID storage

pull/1/head
cosmonaut 2022-04-03 14:14:50 -07:00
parent 31083994ab
commit 1c184c0166
1 changed files with 0 additions and 1 deletions

View File

@ -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];