From 7d25c21cdf4b46cdab680f11110fb23676c6141b Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 10 Apr 2025 17:39:21 +0200 Subject: feat(ecs): re-add support for component events --- ecs/src/component.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ecs/src/component.rs') diff --git a/ecs/src/component.rs b/ecs/src/component.rs index 207c329..cc4b460 100644 --- a/ecs/src/component.rs +++ b/ecs/src/component.rs @@ -5,7 +5,6 @@ use std::ops::{Deref, DerefMut}; use seq_macro::seq; -use crate::event::component::Kind as ComponentEventKind; use crate::lock::{ Error as LockError, MappedReadGuard, @@ -39,9 +38,6 @@ pub trait Component: SystemInput + Any /// Returns the name of this component. fn name(&self) -> &'static str; - - /// Returns the component UID of a component event for this component. - fn get_event_uid(&self, event_kind: ComponentEventKind) -> Uid; } impl dyn Component -- cgit v1.2.3-18-g5258