コード例 #1
0
    StoryTree TigerlilyFirstText()
    {
        StoryTree tree = new StoryTree();

        StoryTreeUtils.InsertTextIntoTree(tree, ELLIPSIS, DISMISSIVE);
        return(tree);
    }
コード例 #2
0
    StoryTree MelodyAcknowledged()
    {
        StoryTree tree = new StoryTree();

        StoryTreeUtils.InsertTextIntoTree(tree, SHHHH, DONT_TELL_FATHER);
        return(tree);
    }
コード例 #3
0
    StoryTree TigerlilyFirstTextWithChoices()
    {
        StoryTree tree   = new StoryTree();
        Action    action = delegate() { this.context.MentionedMelody = true; };

        StoryTreeUtils.InsertTextIntoTree(tree, ELLIPSIS, DISMISSIVE);
        StoryTree choice1tree = StoryTreeUtils.CreateChoiceAndReplies(MELODY_SAYS_HI, action, OH, YOU_KNOW_HER);
        StoryTree choice2tree = StoryTreeUtils.CreateChoiceAndReplies(SAY_NOTHING);

        StoryTreeUtils.AddChoicesToTree(tree, choice1tree, choice2tree);
        return(tree);
    }