public void completeQuest(Quest q) { if(open.ContainsKey(q.getQuestID())) open.Remove(q.getQuestID()); if(!completed.ContainsKey(q.getQuestID())) completed.Add(q.getQuestID(),q); }
public void addQuest(Quest q) { if(!open.ContainsKey(q.getQuestID())) open.Add(q.getQuestID(), q); }