fn input_handler(
input: Res<'_, ButtonInput<KeyCode>>,
placing_dir: ResMut<'_, CurrentPlacingDir>,
)Expand description
Handles switching the direction of the train.
fn input_handler(
input: Res<'_, ButtonInput<KeyCode>>,
placing_dir: ResMut<'_, CurrentPlacingDir>,
)Handles switching the direction of the train.