public void Reset(QuestIdentifier ident, QuestText info, List <IQuestObjective> obj, QuestReward _reward = null) { identifier = ident; information = info; objectives = obj; reward = _reward; }
public QuestText(QuestText qt) { title = qt.title; descriptionSummary = qt.descriptionSummary; dialog = qt.dialog; endDialog = qt.endDialog; hint = qt.hint; }
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; }