public static void SetLogsCountAtIndex(int index, int newValue) { logs[index] = Mathf.Clamp(newValue, 0, PlayerSkills.GetMaxLumberLogsValue()); }
public static void UpdateLogsCountAtGrade(QualityGrade grade, int changeValue) { logs[grade.GetHashCode()] = Mathf.Clamp((logs[grade.GetHashCode()] += changeValue), 0, PlayerSkills.GetMaxLumberLogsValue()); }
public static void SetLogsCountAtGrade(QualityGrade grade, int newValue) { logs[grade.GetHashCode()] = Mathf.Clamp(newValue, 0, PlayerSkills.GetMaxLumberLogsValue()); }