You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
SettlementConfig class play 3 roles:
Global configurations for Settlement, e.g. Shifts, Group Activities
Repository for SettlementTemplates using the existing UserConfiguration pattern
Holds FunctionSpec extra properties, e.g. ScienceLevel for a RESEARCH function.
This make the class very big and has a mixture of logic. Plus SettlementTemplates are transient and only needed when creating Settlements.
Describe the goal(s) you have in mind
Separate the Settlement template logic out into a new class called SettlementTemplateConfg. This will focus solely on loading and saving Settlement Templates.
In addition it will ensure that any FunctionSpec properties are solely within the template and not in the main SettlementConfiguration. The existing FunctionSpec will be subclassed for the Function that need extra configuration properties.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
SettlementConfig class play 3 roles:
This make the class very big and has a mixture of logic. Plus SettlementTemplates are transient and only needed when creating Settlements.
Describe the goal(s) you have in mind
Separate the Settlement template logic out into a new class called
SettlementTemplateConfg
. This will focus solely on loading and saving Settlement Templates.In addition it will ensure that any FunctionSpec properties are solely within the template and not in the main SettlementConfiguration. The existing FunctionSpec will be subclassed for the Function that need extra configuration properties.
The text was updated successfully, but these errors were encountered: