feat: Add achievements button to HUD settings (#47)

This commit is contained in:
demenik
2025-12-11 20:21:02 +01:00
parent 8c9a27f0df
commit 52dd300ca0
3 changed files with 18 additions and 0 deletions

View File

@@ -27,6 +27,12 @@ pub fn open_settings(commands: &mut Commands) {
ButtonVariant::Secondary,
Node::from_padding(UiRect::all(px(10))),
|color| text("Spiel speichern", 24.0, color)
),
button(
ButtonType::SettingsAchievements,
ButtonVariant::Secondary,
Node::from_padding(UiRect::all(px(10))),
|color| text("Erfolge", 24.0, color)
),(
Node {
justify_content: JustifyContent::Center,