public void ShowMyProffile() { ShowBackground(); _dialogueProfile.ShowMy(); _currentDialogue = _dialogueProfile; }
public void ShowProffile(FoolPlayer player) { ShowBackground(); _dialogueProfile.Show(player); _currentDialogue = _dialogueProfile; }
/// <summary> /// Show YesNo with yes callback and with parameter for yes callback /// </summary> public void ShowYesNo(string bodyText, string yesText, string noText, Action <object> onYes, object onYesParameter) { _dialogueYesNo.ShowYesNo(bodyText, yesText, noText, onYes, onYesParameter, null); _currentDialogue = _dialogueYesNo; ShowBackground(); }
/// <summary> /// Show Ok with no callbacks /// </summary> public void ShowOk(string bodyText) { _dialogueOk.ShowOk(bodyText); _currentDialogue = _dialogueOk; ShowBackground(); }
/// <summary> /// Show YesNo with yes callback /// </summary> public void ShowYesNo(string bodyText, string yesText, string noText, Action onYes) { _dialogueYesNo.ShowYesNo(bodyText, yesText, noText, delegate(object o) { onYes?.Invoke(); }, null, null); _currentDialogue = _dialogueYesNo; ShowBackground(); }