コード例 #1
0
    private string traverse(DialogueNode newActive)
    {
        string resp = activeDialogue.CheckRequirements();

        if (resp != "")
        {
            return(resp);
        }

        if (newActive.GetNewHead() != null)
        {
            activeCallback.Invoke(newActive.GetNewHead());
        }

        activeDialogue = newActive;
        activeDialogue.DoOutcomes(ref activeNPC);
        displayer.Load(activeDialogue, activeNPC);
        return("");
    }