Adding and removing multiple components from an entity. #129
Labels
A - Storage
Area: Storage inside a World.
C - Enhancement
Category: New feature or request.
P - Low
Priority: Not particularly urgent.
V - Major Breaking Change
Versioning: Requires a major bump according to semver.
Currently,
Entry::add()
andEntry::remove()
only support removing one component at a time. This means that the entity will have to be moved to a new archetype with every change if multiple changes are desired.To account for this,
Entry::add()
andEntry::remove()
should be modified to take multiple components. Additionally, a new method calledEntry::add_remove()
could be introduced which both adds and removes components at the same time.The text was updated successfully, but these errors were encountered: