예제 #1
0
 public DialogItem(string title, string content, DialogItemTypeEnum type)
 {
     this.Title              = title;
     this.Content            = content;
     this.Type               = type;
     this.AvailableResponses = new List <DialogResponseItem>();
 }
예제 #2
0
        public static ResponseItemPool GetResponseItemPool(DialogItemTypeEnum type)
        {
            switch (type)
            {
            case DialogItemTypeEnum.Greeting:
                return(new GreetingResponseItemsPool());

            case DialogItemTypeEnum.Acceptance:
                return(new AcceptanceResponseItemsPool());

            default:
                throw new NotImplementedException();
            }
        }
예제 #3
0
 public DialogResponseItem(string title, string content, DialogItemTypeEnum type) : base(title, content, type)
 {
 }
예제 #4
0
 public DialogItemPool(DialogItemTypeEnum type)
 {
     this.ItemTypes = type;
 }
예제 #5
0
 public ResponseItemPool(DialogItemTypeEnum type)
 {
     this.ItemTypes = type;
 }