It would be nice to add EntityData.removeComponents(EntityId entityId, Class<T>... types) for ease of removing multiple components at once.
Currently, I am doing something like
Stream.of(ComponentA.class, ComponentB.class, ComponentC.class)
.forEach(component -> ed.removeComponent(eId, component));
It would be nice to add
EntityData.removeComponents(EntityId entityId, Class<T>... types)for ease of removing multiple components at once.Currently, I am doing something like