Example #1
0
        private void PrintBroadcastDialogueNode(BroadcastDialogueNode pBroadcastNode)
        {
            Indentation();
            _output.Append("BROADCAST " + pBroadcastNode.eventName + "\n");

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

            SwitchOnNode(nextNode);
        }
Example #2
0
        DialogueNode VisitBroadcastDialogueNode(DialogueNode pPrevious)
        {
                        #if DEBUG_WRITE
            Console.WriteLine("VisitBroadcastDialogueNode()");
                        #endif

            match(Token.TokenType.BROADCAST);
            string eventName = GetAStringFromNextToken(false, false);

            BroadcastDialogueNode n = _dialogueRunner.Create <BroadcastDialogueNode>(_conversationName, _language, (_nodeCounter++).ToString() + "(broadcaster)");
            n.eventName = eventName;

            AddLinkFromPreviousNode(pPrevious, n);
            return(n);
        }
        private void PrintBroadcastDialogueNode(BroadcastDialogueNode pBroadcastNode)
        {
            Indentation();
            _output.Append("BROADCAST " + pBroadcastNode.eventName + "\n");

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