From 43cbd47900d23801c584def1b7877fdea700c23a Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 7 Jun 2025 22:52:36 +0200 Subject: feat(ecs): make component removals queryable This replaces the old component removed events --- ecs/src/event/component.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ecs/src/event') diff --git a/ecs/src/event/component.rs b/ecs/src/event/component.rs index ef09480..72a78a3 100644 --- a/ecs/src/event/component.rs +++ b/ecs/src/event/component.rs @@ -10,9 +10,3 @@ use crate::Component; /// b) The target component is added to a entity. #[derive(Debug, Component)] pub struct Added(Infallible); - -/// Pair relation for events emitted when: -/// a) The target component is removed from a entity. -/// b) A entity with the target component is despawned. -#[derive(Debug, Component)] -pub struct Removed(Infallible); -- cgit v1.2.3-18-g5258