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; }
private void Start() { EventName = "Start new day"; Requirements.Add(new RequireDate(requireDate)); Requirements.ForEach(g => g.Init()); }
public void ForceComplete() => Requirements.ForEach(t => t.QuestRequirementCompleted());
public void Activate() => Requirements.ForEach(t => t.Activate());