Trait amethyst_core::bundle::ECSBundle
[−]
[src]
pub trait ECSBundle<'a, 'b> { fn build(
self,
world: &mut World,
dispatcher: DispatcherBuilder<'a, 'b>
) -> Result<DispatcherBuilder<'a, 'b>>; }
A bundle of ECS components, resources and systems.
Required Methods
fn build(
self,
world: &mut World,
dispatcher: DispatcherBuilder<'a, 'b>
) -> Result<DispatcherBuilder<'a, 'b>>
self,
world: &mut World,
dispatcher: DispatcherBuilder<'a, 'b>
) -> Result<DispatcherBuilder<'a, 'b>>
Build and add ECS resources, register components, add systems etc to the Application.
Implementors
impl<'a, 'b, 'c> ECSBundle<'a, 'b> for TransformBundle<'c>