diff options
author | HampusM <hampus@hampusmat.com> | 2024-02-28 22:30:38 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-02-28 22:30:38 +0100 |
commit | 21c582507ae2dc9d264c80719e39ac47d3b0122b (patch) | |
tree | c564e8507dcc3060442821cbfdce1788c472cb9c /ecs/src/lib.rs | |
parent | c1ec41dffb488109740bce2c2354db917fb6c20f (diff) |
refactor(ecs): use better system input type filtering solution
Diffstat (limited to 'ecs/src/lib.rs')
-rw-r--r-- | ecs/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ecs/src/lib.rs b/ecs/src/lib.rs index 573aa41..4e3e4a1 100644 --- a/ecs/src/lib.rs +++ b/ecs/src/lib.rs @@ -14,9 +14,11 @@ use crate::system::{ System, TypeErased as TypeErasedSystem, }; +use crate::tuple::FilterExclude as TupleFilterExclude; pub mod component; pub mod system; +pub mod tuple; pub use ecs_macros::Component; @@ -154,7 +156,7 @@ where Comps: ComponentSequence, { type Flags = NoInitSystemParamFlag; - type Input = (); + type Input = TupleFilterExclude; fn initialize<SystemImpl>(_system: &mut impl System<SystemImpl>, _input: Self::Input) { |