diff options
author | HampusM <hampus@hampusmat.com> | 2024-04-09 22:25:03 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-04-09 22:25:03 +0200 |
commit | 9d8c73dd2671131929967214433dae5479e95b5b (patch) | |
tree | d522d975e14e6db7544474b641d824edd8edbae5 /ecs/src/component.rs | |
parent | 50234ddc9ee7acd6d2b8d0a5626caf9e9293c0da (diff) |
feat(ecs): add support for singleton components
Diffstat (limited to 'ecs/src/component.rs')
-rw-r--r-- | ecs/src/component.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ecs/src/component.rs b/ecs/src/component.rs index 7a61f39..0e5f020 100644 --- a/ecs/src/component.rs +++ b/ecs/src/component.rs @@ -8,6 +8,7 @@ use crate::system::{ComponentRefMut, Input as SystemInput}; use crate::type_name::TypeName; pub mod local; +pub mod single; pub trait Component: SystemInput + Any + TypeName { |