use bevy::prelude::*; 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::