use bevy::{ diagnostic::{FrameTimeDiagnosticsPlugin, PrintDiagnosticsPlugin}, prelude::*, }; use rand::{rngs::StdRng, Rng, SeedableRng}; fn main() { App::build() .add_default_plugins() .add_plugin(FrameTimeDiagnosticsPlugin::default()) .add_plugin(PrintDiagnosticsPlugin::default()) .add_startup_system(setup.system()) .add_system(move_cubes.system()) .run(); } fn move_cubes( time: Res