示例#1
0
        private void CreateTreeOfDialogueNodes()
        {
            _nodeCounter = 0;

            ConversationStartDialogueNode startNode = _dialogueRunner.Create <ConversationStartDialogueNode>(_conversationName, _language, NAME_OF_START_NODE);
            ConversationEndDialogueNode   endNode   = _dialogueRunner.Create <ConversationEndDialogueNode>(_conversationName, _language, NAME_OF_END_NODE);

                        #if DEBUG_WRITE
            Console.WriteLine("Created a ConversationStartDialogueNode with name '" + startNode.name + "'");
            Console.WriteLine("Created a ConversationEndDialogueNode with name '" + endNode.name + "'");
                        #endif

            // Start parsing
            Nodes(startNode, endNode);
        }
 private void PrintConversationEndDialogueNode(ConversationEndDialogueNode pConversationEndDialogueNode)
 {
     Indentation();
     _output.Append("-> End\n");
 }
示例#3
0
 private void PrintConversationEndDialogueNode(ConversationEndDialogueNode pConversationEndDialogueNode)
 {
     Indentation();
     _output.Append("-> End\n");
 }