pub trait System: 'static {
// Required methods
fn name(&self) -> Cow<'static, str>;
fn run(&mut self, context: &mut MapContext);
}
Expand description
An system that can be added to a Schedule
pub trait System: 'static {
// Required methods
fn name(&self) -> Cow<'static, str>;
fn run(&mut self, context: &mut MapContext);
}
An system that can be added to a Schedule