refactor: Move load savegame popup to savegame feature

This commit is contained in:
demenik
2025-11-28 12:37:57 +01:00
parent cdcb8c08d4
commit a2566f3643
6 changed files with 57 additions and 38 deletions

View File

@@ -3,7 +3,6 @@ use crate::prelude::*;
#[derive(Component)]
pub enum RootMarker {
MainMenu,
PopupSavegameLoad,
}
#[derive(Component)]
@@ -11,7 +10,4 @@ pub enum ButtonType {
LoadGame,
NewGame,
Settings,
PopupSavegameLoad { savegame_path: SavegamePath },
PopupSavegameDelete { savegame_path: SavegamePath },
PopupClose,
}