summaryrefslogtreecommitdiff
path: root/ecs/src/component.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-04-10 17:39:21 +0200
committerHampusM <hampus@hampusmat.com>2025-04-10 17:39:38 +0200
commit7d25c21cdf4b46cdab680f11110fb23676c6141b (patch)
treecc953dbbb5cc4f2da36b9b5ad7c569ee0aa5fcd7 /ecs/src/component.rs
parent3ba82dd26869dad69f686d38bb70caefeaa25bfc (diff)
feat(ecs): re-add support for component events
Diffstat (limited to 'ecs/src/component.rs')
-rw-r--r--ecs/src/component.rs4
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