Пример #1
0
 // show/update the dialog screen
 public void ShowDialog(string text, string[] options = null)
 {
     OnDialogEvent?.Invoke(this,
                           new DialogEventArgs(DialogEventType.Update, CurrentEntity.Name + ": " + text, options));
 }
Пример #2
0
 // closes the dialog screen and end interaction
 public void EndDialog()
 {
     OnDialogEvent?.Invoke(this, new DialogEventArgs(DialogEventType.Close, null, null));
     CurrentEntity = null;
 }