Exemple #1
0
        public void completeQuest(Quest q)
        {
            if(open.ContainsKey(q.getQuestID()))
                open.Remove(q.getQuestID());

            if(!completed.ContainsKey(q.getQuestID()))
                completed.Add(q.getQuestID(),q);
        }
Exemple #2
0
 public void addQuest(Quest q)
 {
     if(!open.ContainsKey(q.getQuestID()))
         open.Add(q.getQuestID(), q);
 }