bevy/crates/bevy_state/src
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
..
state Clean up substate code a bit (#13638) 2024-06-03 13:49:00 +00:00
app.rs Move state installation methods from bevy_app to bevy_state (#13637) 2024-06-03 13:47:08 +00:00
condition.rs Separate state crate (#13216) 2024-05-09 18:06:05 +00:00
lib.rs Move state installation methods from bevy_app to bevy_state (#13637) 2024-06-03 13:47:08 +00:00