-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Multiple independent sets would open up some new possibilities, and in theory shouldn't be too difficult to implement. Basically, rather than the single set we have right now, consisting of work specs, pawn settings, resolve frequency, ect, we could have multiple.
Each set could be accessible through tabs at the top of the window, with the current "default" set being the first. These sets should be able to be named and ordered as desired. When the alternative layout mentioned in #37 is added, the layout could be set per tab.
This would allow for extended management options, including having separate tabs for managing work, roles, weapons, prisoners, whatever the user would want. Roles and weapons could be resolved every month only, while work could be resolved daily.
On the technical side, it would be a drastic refactor of the MapWorkManager class, but complexity should be limited. All fields and methods unique to each setting set would basically be moved to a separate class, something like "WorkManagerConfiguration", with the MapWorkManager then containing a list of said configurations. Whether only data access methods should be moved over is, with functional methods such as the assignment algorithm and work resolver, staying in MapWorkManager, is debatable.