static void MapNameMenuEntryUnfocus(object sender, PlayerIndexEventArgs e) { Clavier.Get().GetText = false; }
void MapWidthMenuEntrySelected(object sender, PlayerIndexEventArgs e) { Clavier.Get().GetText = false; _mapWidth = (_mapWidth - 5 + 1) % 26 + 5; SetMenuEntryText(); }
void MapHeightMenuEntrySelected(object sender, PlayerIndexEventArgs e) { Clavier.Get().GetText = false; _mapHeight = (_mapHeight - 5 + 1) % 16 + 5; SetMenuEntryText(); }
void ConfirmExitMessageBoxAccepted(object sender, PlayerIndexEventArgs e) { ScreenManager.Game.Exit(); }
void OptionsMenuEntrySelected(object sender, PlayerIndexEventArgs e) { ScreenManager.AddScreen(new OptionsMenuScreen(), e.PlayerIndex); }
void MapEditorMenuEntrySelected(object sender, PlayerIndexEventArgs e) { ScreenManager.AddScreen(new MapEditorMenuScreen(), e.PlayerIndex); }
void PlayGameMenuEntrySelected(object sender, PlayerIndexEventArgs e) { ScreenManager.AddScreen(new GameSelectScreen(), e.PlayerIndex); }
void LanguageMenuEntrySelected(object sender, PlayerIndexEventArgs e) { _currentLanguage = (_currentLanguage + 1) % Languages.Length; SetMenuEntryText(); }