/// <summary> /// Changes the max revenue for this user /// </summary> /// <param name="_newMaxRevenue"></param> public void ChangeMaxRevenue(float _newMaxRevenue) { // set the new value MaxRevenue = _newMaxRevenue; // recalculate the shifts ShiftScheduler.Calculate(); }
/// <summary> /// Changes the Salary of the User /// </summary> /// <param name="_newSalaryType"></param> public void ChangeSalaryType(SalaryType _newSalaryType) { // set the new value SalaryType = _newSalaryType; // recalculate the shifts ShiftScheduler.Calculate(); }