use bevy::prelude::*; struct Rotator; fn main() { AppBuilder::new() .add_defaults() .setup_world(setup) .add_system(build_rotator_system()) .run(); } fn build_rotator_system() -> Box { SystemBuilder::new("Rotator") .read_resource::