use bevy::prelude::*; use bevy::render::render_graph_2::{uniform_selector, ShaderUniforms, StandardMaterial}; use rand::{rngs::StdRng, Rng, SeedableRng}; use std::collections::VecDeque; fn main() { AppBuilder::new() .add_defaults() .add_system(build_move_system()) .add_system(build_print_status_system()) .setup_world(setup) .run(); } fn build_move_system() -> Box { SystemBuilder::new("Move") .read_resource::