public DialogItem(string title, string content, DialogItemTypeEnum type) { this.Title = title; this.Content = content; this.Type = type; this.AvailableResponses = new List <DialogResponseItem>(); }
public static ResponseItemPool GetResponseItemPool(DialogItemTypeEnum type) { switch (type) { case DialogItemTypeEnum.Greeting: return(new GreetingResponseItemsPool()); case DialogItemTypeEnum.Acceptance: return(new AcceptanceResponseItemsPool()); default: throw new NotImplementedException(); } }
public DialogResponseItem(string title, string content, DialogItemTypeEnum type) : base(title, content, type) { }
public DialogItemPool(DialogItemTypeEnum type) { this.ItemTypes = type; }
public ResponseItemPool(DialogItemTypeEnum type) { this.ItemTypes = type; }