diff options
author | HampusM <hampus@hampusmat.com> | 2025-04-10 17:39:21 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-04-10 17:39:38 +0200 |
commit | 7d25c21cdf4b46cdab680f11110fb23676c6141b (patch) | |
tree | cc953dbbb5cc4f2da36b9b5ad7c569ee0aa5fcd7 /ecs/src/component.rs | |
parent | 3ba82dd26869dad69f686d38bb70caefeaa25bfc (diff) |
feat(ecs): re-add support for component events
Diffstat (limited to 'ecs/src/component.rs')
-rw-r--r-- | ecs/src/component.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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 |