pub fn build(&mut self) {

        // Add resources to simulation state and prepare scenario internal state
        self.scenario.setup(&mut self.state.ecs.world, &mut self.state.ecs.resources);

        // Define simulation state schedule
        self.state.ecs.schedule = self.scenario.build();

    }
/// Builds Simulator using Simulator state ECS World and Resources
Builds Simulator using Simulator state ECS World and Resources
Builds Simulator using Simulator state ECS World and Resources
pub fn build(&mut self) {
        // Add resources to simulation state and prepare scenario internal state
        self.scenario.setup(&mut self.state.ecs.world, &mut self.state.ecs.resources);
        // Define simulation state schedule
        self.state.ecs.schedule = self.scenario.build();
    }
pub fn build ( & mut self ) { // Add resources to simulation state and prepare scenario internal state self . scenario . setup ( & mut self . state . ecs . world , & mut self . state . ecs . resources ) ; // Define simulation state schedule self . state . ecs . schedule = self . scenario . build ( ) ; }
Builds Simulator using Simulator state ECS World and Resources
Builds Simulator using Simulator state ECS World and Resources
&mut self
&mut self