public void Display(SceneContent sceneContent)
 {
     using (ChoiceDisplayContent choiceDisplayContent = _choiceDisplayContentExtractor.Extract(sceneContent))
     {
         _choiceDisplayView.Display(choiceDisplayContent);
     }
 }
Exemple #2
0
        public void Display(ChoiceDisplayContent choiceDisplayContent)
        {
            Assert.IsNotNull(choiceDisplayContent);
            Assert.IsEqual(_choiceButtonControllers.Length, choiceDisplayContent.Choices.Length);

            for (int i = 0; i < _choiceButtonControllers.Length; i++)
            {
                _choiceButtonControllers[i].SetChoice(choiceDisplayContent.Choices[i]);
            }
        }
 public void Visit(SceneContentDialogue sceneContentDialogue)
 {
     _choiceDisplayContent = null;
 }