use bevy::prelude::*; use rand::{rngs::StdRng, Rng, SeedableRng}; fn main() { App::build() .add_defaults() .add_system(build_move_system()) .add_system(bevy::diagnostics::build_fps_printer_system()) .setup_world(setup) .run(); } fn build_move_system() -> Box { SystemBuilder::new("Move") .read_resource::