Пример #1
0
        private void personalMode()
        {
            gameSystem.currentGameMode = GameMode.personal;

            uiSelectModeWindow.Visible = false;

            var dialog = new UIDialog(gameSystem, "message", "developing");

            dialog.okButtonClicked = () =>
            {
                uiSelectModeWindow.Visible = true;
                dialog.Close();
            };

            dialog.Show(uiSelectModeWindow);
        }
Пример #2
0
 //Shows win dialog
 public void ShowWinDialog()
 {
     winDialog.Show();
 }
Пример #3
0
 //Shows lose dialog
 public void ShowLoseDialog()
 {
     loseDialog.Show();
 }
Пример #4
0
 public void ShowMenu(string message, string title)
 {
     uIDialog.Show(message, title);
 }