My game will handle a data model like this:
- Characters
- Name
- PowerBase
- League
- Title
- BossName
- Match
- Player
- Character
- League
- Progress
- PowerTotal
- Money
- Loan1, Loan2
- Funding1, Funding2
As you can see, it's a nested data.
So, how should I handle this data between registry update events, local storage and game scenes?
Option 1) Keep everything in a single class with nested properties. It's a problem because registry events
will not fire for specific properties.
Option 2) Keep a single variable for each data, with is hard to handle since they'll not be nested in classes.
Option 3) Any other idea?