generated from GarandPLG/rust-flake-template
00eeb97ed84faf12abe26b73c2c10cb0e97359be
- Extend the `Task` trait with methods for progress handling and completion. - Update `DiggingTask` to store `progress` and `tick_increase`, and implement the new trait methods. - Implement the new methods in the `Tasks` enum, adding a mutable accessor. - Introduce `BoardState::get_active_tasks` and `BoardState::advance_turn` to iterate over active tasks and update their progress each turn. - Un-comment the call to `board.advance_turn()` in `SkirmishState::tick_update`.
rust-flake-template
Basic flake for rust development and production.
Languages
Rust
97.1%
Nix
2.9%