Пример #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;
 }