Oleksii-Kshenskyi / runger

A hunger games style genetic simulation/game/research in Rust + Bevy.
The Unlicense
1 stars 0 forks source link

Switch to using game states instead of bool systems #20

Closed Oleksii-Kshenskyi closed 7 months ago

Oleksii-Kshenskyi commented 8 months ago

Right now, the change of game state (between startup, simulation running and simulation finished) is handled via .run_if(bool_system). This is a clunky and hackish implementation. To improve this, I should switch to using Bevy's states. That way I can properly run post-simulation systems like logging and stats computation without using hacks and ugly code.