public Entity([NotNull] IEntityLookup entityLookup) { Id = entityLookup.GetNextEntityId(); m_entityLookup = entityLookup; m_components = new Dictionary <Type, ComponentBase>(); ComponentKey = ComponentKey.Empty; }