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