public void Create()
 {
     while (true)
     {
         // Use the story maker to combine elements into a readable story
         var story = _storyMaker.MakeAStory();
         // Output the story
         _presentationAdapter.Print(story);
     }
 }
示例#2
0
        public void Create()
        {
            while (true)
            {
                _storyElements.CreateStoryElements();

                var story = _storyMaker.MakeAStory(_storyElements);

                _presentationAdapter.Print(story);
            }
        }