SystemsGenerator

Trait SystemsGenerator 

Source
pub trait SystemsGenerator {
    // Required method
    fn generate(&self) -> Vec<(&'static str, System)>;
}
Expand description

A simple way to organize related systems into a unit. You can easily add all systems created by a SystemsGenerator to your game using the Game::add_systems_from_generator method.

Required Methods§

Source

fn generate(&self) -> Vec<(&'static str, System)>

Implementors§