generated from GarandPLG/rust-flake-template
55a260755c318ca4aaece6a2437dc4fdd1f966bd
Introduce a numeric `level` field for `BaseBuilding` and `Ore`, update their constructors and `get_level` implementations, and increase the default ore amount to the new maximum. Extend the `Structure` and `Unit` traits with `base_text` and `text` methods, add `is_unit` to `Units`, and adjust the `Structures` enum to delegate text rendering. Refactor `SidePanelWidget` to use the unified trait methods, removing duplicated rendering code. Update `BoardState` to create ore structures with an initial level of 1.
rust-flake-template
Basic flake for rust development and production.
Languages
Rust
97.1%
Nix
2.9%