add system fn todos

This commit is contained in:
Carter Anderson 2020-05-01 01:47:59 -07:00
parent 5458c6daf4
commit 4315455859

View file

@ -15,6 +15,9 @@ use legion_core::{
}; };
use std::marker::PhantomData; 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> { pub trait IntoSystem<'a, CommandBuffer, Resources, Components> {
fn system_id(self, id: SystemId) -> Box<dyn Schedulable>; fn system_id(self, id: SystemId) -> Box<dyn Schedulable>;
fn system_named(self, name: &'static str) -> Box<dyn Schedulable>; fn system_named(self, name: &'static str) -> Box<dyn Schedulable>;