mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
add system fn todos
This commit is contained in:
parent
5458c6daf4
commit
4315455859
1 changed files with 3 additions and 0 deletions
|
@ -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<dyn Schedulable>;
|
||||
fn system_named(self, name: &'static str) -> Box<dyn Schedulable>;
|
||||
|
|
Loading…
Reference in a new issue