public void Reset(QuestIdentifier ident, QuestText info, List <IQuestObjective> obj, QuestReward _reward = null) { identifier = ident; information = info; objectives = obj; reward = _reward; }
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; }
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; }
public QuestIdentifier(QuestIdentifier qi) { id = qi.id; sourceID = qi.sourceID; }