// TODO: in an ideal world, this information would be stored seperately
in an ideal world, this information would be stored seperately
in an ideal world this information would be stored seperately
pub fn level_startup(mut commands: Commands) {
  [("Square Level", 2), ("Watery Level", 0), ("Bridge Level", 1)].iter().for_each(|d| {
    let av = AvailableLevel::from(d);
    commands.spawn().insert(av);
  })
}
pub fn level_startup ( mut commands : Commands ) { [ ( " " , 2 ) , ( " " , 0 ) , ( " " , 1 ) ] . iter ( ) . for_each ( | d | { let av = AvailableLevel :: from ( d ) ; commands . spawn ( ) . insert ( av ) ; } ) }
TODO: in an ideal world, this information would be stored seperately
TODO : in an ideal world this information would be stored seperately
commands
Commands