Adding and removing multiple components from an entity.
オープン
A - Storage
C - Enhancement
P - Low
V - Major Breaking Change
- 主要言語
- Rust
- スター
- 41
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently, [`Entry::add()`](https://docs.rs/brood/0.3.0/brood/world/struct.Entry.html#method.add) and [`Entry::remove()`](https://docs.rs/brood/0.3.0/brood/world/struct.Entry.html#method.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()` and `Entry::remove()` should be modified to take multiple components. Additionally, a new method called `Entry::add_remove()` could be introduced which both adds and removes components at the same time.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。