Add support for loading resources from disk #34
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes issue #33
This pull request adds a
load
method to theresource_manager
class that loads resources from disk and adds them to the manager. @ohmannyy the code for loading winiks should look almost identical to this.To test
edit: There's a bit of extra code in
get_states
that doesn't work, but it never worked before and this is a *bit closer to working. I can remove this extra code of of the pull request if you want!