예제 #1
0
        private void PrintInterruptDialogueNode(InterruptDialogueNode pInterruptNode)
        {
            Indentation();
            _output.Append("INTERRUPT " + pInterruptNode.interruptingConversation + "\n");

            DialogueNode nextNode = _dialogueRunner.GetDialogueNode(_conversation, pInterruptNode.nextNode);

            SwitchOnNode(nextNode);
        }
예제 #2
0
        private InterruptDialogueNode VisitInterruptDialogueNode(DialogueNode pPrevious)
        {
                        #if DEBUG_WRITE
            Console.WriteLine("InterruptDialogueNode()");
                        #endif

            match(Token.TokenType.INTERRUPT);
            string interruptingConversation = GetAStringFromNextToken(false, false);

            InterruptDialogueNode n = _dialogueRunner.Create <InterruptDialogueNode>(_conversationName, _language, (_nodeCounter++) + " (interrupt commando)");
            n.interruptingConversation = interruptingConversation;

                        #if DEBUG_WRITE
            Console.WriteLine("Added InterruptDialogueNode() with name '" + n.name + "'");
                        #endif

            AddLinkFromPreviousNode(pPrevious, n);

            return(n);
        }
예제 #3
0
        private void PrintInterruptDialogueNode(InterruptDialogueNode pInterruptNode)
        {
            Indentation();
            _output.Append("INTERRUPT " + pInterruptNode.interruptingConversation + "\n");

            DialogueNode nextNode = _dialogueRunner.GetDialogueNode(_conversation, pInterruptNode.nextNode);
            SwitchOnNode(nextNode);
        }