Пример #1
0
 public DialogueScreen(M_Rectangle screenView)
 {
     this.screenView = screenView;
     dialogue        = GetDialogue().GetEnumerator();
     dialogue.MoveNext();
     box = new DialogueBox(screenView, dialogue.Current, textColor);
 }
Пример #2
0
        public override bool Update(GameTime gameTime)
        {
            if (!box.Update(gameTime))
            {
                if (!dialogue.MoveNext())
                {
                    return(false);
                }
                box.Dispose();
                box = new DialogueBox(screenView, dialogue.Current, textColor);
            }


            return(true);
        }