Trait amethyst_core::bundle::SystemBundle
source · pub trait SystemBundle<'a, 'b> {
fn build(self, dispatcher: &mut DispatcherBuilder<'a, 'b>) -> Result<()>;
}
Expand description
A bundle of ECS components, resources and systems.
Required Methods
sourcefn build(self, dispatcher: &mut DispatcherBuilder<'a, 'b>) -> Result<()>
fn build(self, dispatcher: &mut DispatcherBuilder<'a, 'b>) -> Result<()>
Build and add ECS resources, register components, add systems etc to the Application.