From 4315455859345f6723359afb9b6ac50d73b47270 Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Fri, 1 May 2020 01:47:59 -0700 Subject: [PATCH] add system fn todos --- crates/bevy_legion/legion_systems/src/system_fn.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/bevy_legion/legion_systems/src/system_fn.rs b/crates/bevy_legion/legion_systems/src/system_fn.rs index 45ba0b13fb..df61c30002 100644 --- a/crates/bevy_legion/legion_systems/src/system_fn.rs +++ b/crates/bevy_legion/legion_systems/src/system_fn.rs @@ -15,6 +15,9 @@ use legion_core::{ }; use std::marker::PhantomData; +// TODO: add params for component access +// TODO: add subworld to function parameters +// TODO: somehow support filters pub trait IntoSystem<'a, CommandBuffer, Resources, Components> { fn system_id(self, id: SystemId) -> Box; fn system_named(self, name: &'static str) -> Box;