bevy/crates/bevy_state
Ben Frankel 52ace67f0e
Clean up substate code a bit (#13638)
# Objective

Small substate code cleanup.

1. Format closure arguments inside macros.
2. Replace `match bool` blocks with `if-else` blocks.
3. Replace `match` block in substate macro with the same one-liner as in
the non-macro version.
2024-06-03 13:49:00 +00:00
..
macros Combine transition systems of Substates (#13626) 2024-06-02 13:36:44 +00:00
src Clean up substate code a bit (#13638) 2024-06-03 13:49:00 +00:00
Cargo.toml Move state installation methods from bevy_app to bevy_state (#13637) 2024-06-03 13:47:08 +00:00