Example #1
0
        public Info(Dialog dialog, int speechBlock)
        {
            DialogSinglet singlet = new DialogSinglet(dialog.Character, dialog.Text[speechBlock]);

            type = Type.Dialog;
            Data = singlet;
        }
Example #2
0
        private void ShowDialog(DialogSinglet dialog)
        {
            StringBuilder sb = new StringBuilder();

            // the first half
            sb.Append(dialog.Character);
            sb.Append(":\n");
            sb.Append(dialog.Text.Text);
            dialogBox.text = sb.ToString();
        }
Example #3
0
 private void RenderDialog(DialogSinglet dialog)
 {
     Console.WriteLine(dialog.Character + ":");
     Console.WriteLine("\t" + dialog.Text);
 }