public EntityGroupOld CreateComponentGroup(ByteFlag components) { var entityGroup = new EntityGroupOld(); for (int i = 0; i < parent.Entities.Count; i++) { var entity = parent.Entities[i]; entityGroup.UpdateEntity(entity, IsComponentGroupValid(entity, components)); } return(entityGroup); }