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

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

            SwitchOnNode(nextNode);
        }
예제 #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);
        }
예제 #3
0
        private void PrintBroadcastDialogueNode(BroadcastDialogueNode pBroadcastNode)
        {
            Indentation();
            _output.Append("BROADCAST " + pBroadcastNode.eventName + "\n");

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