Exemplo n.º 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);
        }
Exemplo n.º 2
0
 private void PrintConversationEndDialogueNode(ConversationEndDialogueNode pConversationEndDialogueNode)
 {
     Indentation();
     _output.Append("-> End\n");
 }
Exemplo n.º 3
0
 private void PrintConversationEndDialogueNode(ConversationEndDialogueNode pConversationEndDialogueNode)
 {
     Indentation();
     _output.Append("-> End\n");
 }