public void Reset()
 {
     // Resets all the requirements. Sets -1 to be sure the percentage
     // will also be updated
     Requirements.ForEach(r => r.Progression = new int[] { 0, 1 });
     Percentage = -1;
 }
Exemplo n.º 2
0
    private void Start()
    {
        EventName = "Start new day";

        Requirements.Add(new RequireDate(requireDate));
        Requirements.ForEach(g => g.Init());
    }
Exemplo n.º 3
0
 public void ForceComplete()
 => Requirements.ForEach(t => t.QuestRequirementCompleted());
Exemplo n.º 4
0
 public void Activate() => Requirements.ForEach(t => t.Activate());