-
Notifications
You must be signed in to change notification settings - Fork 106
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
Initial support for WangSets #226
Conversation
…ted with current assets. Cargo fmt and minor corrections.
Just a small bit of feedback from me for now, I would suggest you turn your Wang set example into a test instead, since it demonstrates nothing new as an example, but it would be good to cover the loading of Wang sets with a test. |
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I'm going to need @bjorn to proofread this though as I'm not very experienced with wang sets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments, mostly about naming and documentation.
…Id return this Error kind when FromStr encoding fails. Renamed some variables to keep rust's naming consistency. Corrected some documentation comments.
Updated with proposed changes. I just forget to change the WangSetType's doc comment, but it will be corrected for the next commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more comments.
…ng inside a named field. Minor documentation and varaible naming corrections. Removed TileId field from WangTile; it will be stored together within a HashMap.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. This should be the final review, I'm OK with this being on the next 0.10 release.
Co-authored-by: Alejandro Perea <alexpro820@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me as well, though I left one comment that I was wondering about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks a lot for your work on this!
Initial support for WangSets.
I have added it by reading the TMX Map Format documentation and following some examples, but note that: