Priority: MEDIUM
Status: TODO
Description
CharacterPersistenceLoader currently implements its own loading/saving logic separate from the rest of the data loading architecture. It should follow the same pattern as RaceLoader, ClassLoader, etc. and integrate with DataManager.
Problem
Current Architecture:
- RaceLoader, ClassLoader, SpellLoader, etc. → All called from DataManager
- CharacterPersistenceLoader → Has its own static methods, called independently
This creates inconsistency:
- Different initialization patterns
- Different error handling
- Harder to understand data flow
- Character data not managed centrally like other D&D content
Goal
Make character persistence follow the same architectural pattern as other data loaders.
Acceptance Criteria
Technical Notes
Likely involves:
- Moving character registry to be managed by DataManager
- Standardizing the loader interface/pattern
- May need to create a unified loader base class if pattern keeps repeating
Reference
See RaceLoader.java, ClassLoader.java for the pattern to follow.
Related Issues
This is part of architectural consistency - similar to how we refactored the selection menus (issue #7).
Priority: MEDIUM
Status: TODO
Description
CharacterPersistenceLoader currently implements its own loading/saving logic separate from the rest of the data loading architecture. It should follow the same pattern as RaceLoader, ClassLoader, etc. and integrate with DataManager.
Problem
Current Architecture:
This creates inconsistency:
Goal
Make character persistence follow the same architectural pattern as other data loaders.
Acceptance Criteria
Technical Notes
Likely involves:
Reference
See RaceLoader.java, ClassLoader.java for the pattern to follow.
Related Issues
This is part of architectural consistency - similar to how we refactored the selection menus (issue #7).