summaryrefslogtreecommitdiff
path: root/ecs/src/actions.rs
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/actions.rs
parentaeed1b1ff3e34fe719a2f7e6097584b99a673ded (diff)
feat(ecs): make component removals queryableHEADmaster
This replaces the old component removed events
Diffstat (limited to 'ecs/src/actions.rs')
-rw-r--r--ecs/src/actions.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/actions.rs b/ecs/src/actions.rs
index e0efeda..3dd8755 100644
--- a/ecs/src/actions.rs
+++ b/ecs/src/actions.rs
@@ -23,7 +23,7 @@ impl<'world> Actions<'world>
.push(Action::Spawn(components.into_parts_array().into()));
}
- /// Queues up despawning a entity at the end of the current tick.
+ /// Queues up despawning a entity at the end of the **next** tick.
pub fn despawn(&mut self, entity_uid: Uid)
{
debug_assert_eq!(entity_uid.kind(), UidKind::Entity);
@@ -48,7 +48,7 @@ impl<'world> Actions<'world>
));
}
- /// Queues up removing component(s) from a entity at the end of the current tick.
+ /// Queues up removing component(s) from a entity at the end of the **next** tick.
pub fn remove_components(
&mut self,
entity_uid: Uid,