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

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

            SwitchOnNode(nextNode);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
        private void PrintInterruptDialogueNode(InterruptDialogueNode pInterruptNode)
        {
            Indentation();
            _output.Append("INTERRUPT " + pInterruptNode.interruptingConversation + "\n");

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