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); }
//Shows win dialog public void ShowWinDialog() { winDialog.Show(); }
//Shows lose dialog public void ShowLoseDialog() { loseDialog.Show(); }
public void ShowMenu(string message, string title) { uIDialog.Show(message, title); }