示例#1
0
 public void Reset(QuestIdentifier ident, QuestText info, List <IQuestObjective> obj, QuestReward _reward = null)
 {
     identifier  = ident;
     information = info;
     objectives  = obj;
     reward      = _reward;
 }
示例#2
0
 public QuestText(QuestText qt)
 {
     title = qt.title;
     descriptionSummary = qt.descriptionSummary;
     dialog             = qt.dialog;
     endDialog          = qt.endDialog;
     hint = qt.hint;
 }
示例#3
0
 public Quest(Quest quest)
 {
     identifier  = quest.identifier;
     information = quest.information;
     objectives  = new List <IQuestObjective>();
     foreach (IQuestObjective obj in quest.objectives)
     {
         objectives.Add(obj.GetCopy());
     }
     reward = quest.reward;
 }
示例#4
0
 public Quest(QuestIdentifier ident, QuestText info, List <IQuestObjective> obj, QuestReward _reward = null)
 {
     identifier  = ident;
     information = info;
     objectives  = new List <IQuestObjective>();
     foreach (IQuestObjective o in obj)
     {
         objectives.Add(o.GetCopy());
     }
     reward = _reward;
 }