Esempio n. 1
0
        private void PrintConversationStartDialogueNode(ConversationStartDialogueNode pConversationStartDialogueNode)
        {
            _output.Append("Start -> \n");
            DialogueNode nextNode = _dialogueRunner.GetDialogueNode(_conversation, pConversationStartDialogueNode.nextNode);

            SwitchOnNode(nextNode);
        }
Esempio n. 2
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);
        }
Esempio n. 3
0
 private void PrintConversationStartDialogueNode(ConversationStartDialogueNode pConversationStartDialogueNode)
 {
     _output.Append("Start -> \n");
     DialogueNode nextNode = _dialogueRunner.GetDialogueNode(_conversation, pConversationStartDialogueNode.nextNode);
     SwitchOnNode(nextNode);
 }