-
Notifications
You must be signed in to change notification settings - Fork 11
Extract all JSON structures to their own classes #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We need to consider migrating some classes, too.
Some insights I can see from the table:
Ideally, either:
Also:
|
Additional key benefits by introducing this change:
|
The new `src/Configs` folder includes two classes which serve as an additional layer between raw data coming from JSON files and the game elements themselves. This layer is intended to be a simple yet efficient way to maintain game compatibility across different versions. You can read more about it in the following issue: Extract all JSON structures to their own classes #70
An example involving the shooter data structure has been added in commit 77cf19b.
|
API draft for the new Resource Manager:
Notes:
|
All JSON structures that exist should be given their own classes. This will greatly improve code clarity and will make development easier.
Some insights:
The text was updated successfully, but these errors were encountered: