/// <summary> /// </summary> /// <param name="other"></param> public BioQuestGoal(BioQuestGoal other) : base(other) { Conditional = other.Conditional; Description = other.Description; Name = other.Name; State = other.State; }
public void AddQuestGoal(BioQuestGoal questGoal) { if (Quests == null || SelectedQuest.Value == null) { return; } if (SelectedQuest.Value.Goals == null) { SelectedQuest.Value.Goals = InitCollection <BioQuestGoal>(); } if (questGoal == null) { questGoal = new BioQuestGoal(); } SelectedQuest.Value.Goals.Add(questGoal); SelectedQuestGoal = questGoal; }