Ejemplo n.º 1
0
    public void ShowMyProffile()
    {
        ShowBackground();

        _dialogueProfile.ShowMy();
        _currentDialogue = _dialogueProfile;
    }
Ejemplo n.º 2
0
    public void ShowProffile(FoolPlayer player)
    {
        ShowBackground();

        _dialogueProfile.Show(player);
        _currentDialogue = _dialogueProfile;
    }
Ejemplo n.º 3
0
    /// <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();
    }
Ejemplo n.º 4
0
    /// <summary>
    /// Show Ok with no callbacks
    /// </summary>
    public void ShowOk(string bodyText)
    {
        _dialogueOk.ShowOk(bodyText);
        _currentDialogue = _dialogueOk;

        ShowBackground();
    }
Ejemplo n.º 5
0
    /// <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();
    }