summaryrefslogtreecommitdiff
path: root/ecs/src/entity.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-08-06 14:14:58 +0200
committerHampusM <hampus@hampusmat.com>2025-08-06 14:14:58 +0200
commit2d1cf05abb72699d38a7c7db7e131922252e1fc1 (patch)
tree98158913fa3d1482358a21426bcbbf4312afe02f /ecs/src/entity.rs
parent43cbd47900d23801c584def1b7877fdea700c23a (diff)
revert(ecs): make component removals not queryable
This reverts commit 43cbd47900d23801c584def1b7877fdea700c23a.
Diffstat (limited to 'ecs/src/entity.rs')
-rw-r--r--ecs/src/entity.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/ecs/src/entity.rs b/ecs/src/entity.rs
index bab3d61..4496a2b 100644
--- a/ecs/src/entity.rs
+++ b/ecs/src/entity.rs
@@ -96,11 +96,6 @@ impl<'a> Handle<'a>
}
}
- pub fn component_ids(&self) -> impl Iterator<Item = Uid> + '_
- {
- self.archetype.component_ids_sorted()
- }
-
pub(crate) fn new(archetype: &'a Archetype, entity: &'a ArchetypeEntity) -> Self
{
Self { archetype, entity }