18 lines
321 B
Rust
18 lines
321 B
Rust
use crate::prelude::*;
|
|
|
|
#[derive(Component)]
|
|
pub enum RootMarker {
|
|
MainMenu,
|
|
PopupSavegameLoad,
|
|
}
|
|
|
|
#[derive(Component)]
|
|
pub enum ButtonType {
|
|
LoadGame,
|
|
NewGame,
|
|
Settings,
|
|
PopupSavegameLoad { savegame_path: SavegamePath },
|
|
PopupSavegameDelete { savegame_path: SavegamePath },
|
|
PopupClose,
|
|
}
|