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