public void NextQuest()
 {
     if (world.quests.generatedQuests != null)
     {
         if (world.quests.generatedQuests.Count - 1 > currentDisplayQuest)
         {
             currentDisplayQuest++;
         }
         questUI.DisplayQuest(world.quests.generatedQuests[currentDisplayQuest]);
     }
 }
 public void displayQuest(Quest quest)
 {
     panelQueue.Enqueue(questPanel.panelID);
     Debug.Log("Queued: " + questPanel.panelID);
     questPanel.DisplayQuest(quest);
     CheckPanelQueue();
 }
Esempio n. 3
0
    public void ActivateQuest(QuestID id)
    {
        //activate first quest from timelogic/new day
        //display goals in quest UI
        //on interacting, check if it was achieved?

        questUI.DisplayQuest(GetQuest(id));
        activeQuests.Add(id, GetQuest(id));
    }