public void AddQuest(Quest quest) { bool hasQuest = Quests.Exists(playerQuest => playerQuest.Details.ID == quest.ID); if (!hasQuest) { PlayerQuest newQuest = new PlayerQuest(quest); Quests.Add(newQuest); } }
public bool HasThisQuest(Quest quest) { return(Quests.Exists(pq => pq.Details.ID == quest.ID)); }
/*Quest Information * ==================*/ public bool HasThisQuest(Quest quest) { return(Quests.Exists(playerQuest => playerQuest.Details.ID == quest.ID)); }
public bool IsQuestCompleted(Quest quest) { return(Quests.Exists(playerQuest => playerQuest.Details.ID == quest.ID && playerQuest.IsCompleted)); }
public bool IsQuestAccepted(Quest quest) { return(Quests.Exists(playerQuest => playerQuest.Details.ID == quest.ID)); }
public bool HasThisQuest(Quest quest) { //Just like with required item, check to see if player has this quest. return(Quests.Exists(pq => pq.Details.ID == quest.ID)); }
public bool hasThisQuest(Quest quest) { return(Quests.Exists(pq => pq.m_details.m_ID == quest.m_ID)); }