add key binding hints in menu

This commit is contained in:
yuni 2024-05-13 21:12:23 +02:00
parent b505312f6e
commit b9791fcdaa

View file

@ -39,11 +39,11 @@ impl Plugin for MenuPlugin {
#[derive(Event, PartialEq)] pub enum DeathScreenEvent { Show, Hide }
pub const MENUDEF: &[(&str, MenuAction)] = &[
("Open Map", MenuAction::ToggleMap),
("Toggle Augmented Reality", MenuAction::ToggleAR),
("Toggle Map [M]", MenuAction::ToggleMap),
("Toggle Augmented Reality [TAB]", MenuAction::ToggleAR),
("Toggle Sound", MenuAction::ToggleSound),
("Toggle Music", MenuAction::ToggleMusic),
("Toggle Fullscreen", MenuAction::ToggleFullscreen),
("Toggle Fullscreen [F11]", MenuAction::ToggleFullscreen),
("Toggle Shadows", MenuAction::ToggleShadows),
("Restart Game", MenuAction::Restart),
("Quit", MenuAction::Quit),