Skip to content
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

Redefine json structure. #29

Merged
merged 1 commit into from
Oct 9, 2018
Merged

Conversation

szymag
Copy link
Contributor

@szymag szymag commented Oct 9, 2018

Use name of Entites as a keys in dict and positions as values.
It allows to use full power of dict structure. What's more,
it simplify the code by removing unnecessary for loop and
if-else closure.

If you like these changes and approve them, I'll make the same for the rest of stuff in json file. It'll simplify the code a lot.

I also included here small minor updates, like star expressions and removing redundant lines.

Use name of Entites as a key in dict and positions as values.
It allows to use full power of dict structure. What's more
it simplify the code by removing unnecessary for loop and
if-else closure
@szymag
Copy link
Contributor Author

szymag commented Oct 9, 2018

This PR corresponds to #24 issue

@mx0c
Copy link
Owner

mx0c commented Oct 9, 2018

Seems like a good idea, looking forward to your next PR's. Thanks for contributing :)

@mx0c mx0c merged commit fd8e907 into mx0c:master Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants