public NPC(string NAME,Coordinates position, Quest quest) { this.Position = position; this.Name = NAME; this.questToGive = quest; }
public bool IsQuestFinished(Hero myhero,Quest quest) { if (this.questToGive.Name == "First Quest" && myhero.Money>199) { return true; } else if (this.questToGive.Name == "Second Quest" && myhero.Money>399) { return true; } else { return false; } }