summaryrefslogtreecommitdiff
path: root/ecs/src/component
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-06-07 22:52:36 +0200
committerHampusM <hampus@hampusmat.com>2025-06-07 22:54:34 +0200
commit43cbd47900d23801c584def1b7877fdea700c23a (patch)
tree72393506bbe46a66cff5fe8e1acaf68107216c25 /ecs/src/component
parentaeed1b1ff3e34fe719a2f7e6097584b99a673ded (diff)
feat(ecs): make component removals queryableHEADmaster
This replaces the old component removed events
Diffstat (limited to 'ecs/src/component')
-rw-r--r--ecs/src/component/storage/archetype.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ecs/src/component/storage/archetype.rs b/ecs/src/component/storage/archetype.rs
index a88e0e8..bb29701 100644
--- a/ecs/src/component/storage/archetype.rs
+++ b/ecs/src/component/storage/archetype.rs
@@ -332,6 +332,7 @@ impl EntityComponent
}
}
+ #[allow(dead_code)]
pub fn id(&self) -> Uid
{
self.id