Commit Graph

9 Commits

Author SHA1 Message Date
Sarah Ashri
bdf20e735c Add new Conjured Items requirement and related tests
Also added some final notes on this solution and suggestions for further changes if we can change Item
2024-03-15 14:36:44 +10:00
Sarah Ashri
d076fc9ba4 Add ItemBuilders hierarchy to enforce building valid items
Also updated unit tests:
- Added unit tests for the new ItemBuilders classes
- Refactored existing tests to use the new builders
2024-03-15 11:46:55 +10:00
Sarah Ashri
eb741a95c5 Seperated the derived DailyUpdater classes into their own files 2024-03-15 11:23:20 +10:00
Sarah Ashri
9293c86c66 DailyUpdaterFactory reuse existing updaters instead of creating new ones every time. 2024-03-15 09:03:42 +10:00
Sarah Ashri
7fbb554030 Extract logic to create Updater into DailyUpdaterFactory and some minor refactoring in DailyUpdater.cs 2024-03-14 15:43:31 +10:00
Sarah Ashri
a585b181da Move DailyUpdate of each type to DailyUpdaterHierarchy and add a simple factory method to get the appropriate updater to use. 2024-03-14 14:27:42 +10:00
Sarah Ashri
0e52fc7c4b Finishes separating DailyUpdate processing according to type. Still in the same method. 2024-03-13 14:28:27 +10:00
Sarah Ashri
3d28a742b5 DailyItemUpdate: extract increase/decrease quality into a separate method 2024-03-13 14:04:40 +10:00
Sarah Ashri
c85ce91a08 Add RefactoringDiary to document my refactoring journey 2024-03-13 11:55:42 +10:00