Ejemplo n.º 1
0
 /// <summary>
 /// Rewards the player for the given quest
 /// </summary>
 /// <param name="quest">completed quest</param>
 public void Reward(QuestItem quest)
 {
     money += quest.Reward;
     questItems.Remove(quest);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds the provided quest to the quest list
 /// </summary>
 /// <param name="quest">gained quest</param>
 public void GetQuest(QuestItem quest)
 {
     questItems.Add(quest);
 }