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