summaryrefslogtreecommitdiff
path: root/ecs/src/system.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-08-26 16:43:40 +0200
committerHampusM <hampus@hampusmat.com>2025-09-11 18:24:48 +0200
commit09981e0173a2427264e432226804292c91e1f920 (patch)
tree70112b6cda98a55da625ec9f6762927f00affe91 /ecs/src/system.rs
parentce1bade2c21cc3129fa8bc2b4bc67bc4dc2c25c3 (diff)
feat(ecs): add component changed event
Diffstat (limited to 'ecs/src/system.rs')
-rw-r--r--ecs/src/system.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ecs/src/system.rs b/ecs/src/system.rs
index ae6dd2e..95ab7a8 100644
--- a/ecs/src/system.rs
+++ b/ecs/src/system.rs
@@ -7,6 +7,7 @@ use crate::uid::Uid;
use crate::World;
pub mod initializable;
+pub mod observer;
pub mod stateful;
/// Metadata of a system.
@@ -60,7 +61,7 @@ seq!(C in 1..16 {
impl_system!(C);
});
-pub trait Into<Impl>
+pub trait Into<'world, Impl>
{
type System;