Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Consolidate Layer attributes #25

Open
marshallward opened this issue Feb 14, 2016 · 0 comments
Open

Consolidate Layer attributes #25

marshallward opened this issue Feb 14, 2016 · 0 comments

Comments

@marshallward
Copy link
Owner

It looks like libtiled now parses all common layer attributes in a single function (getLayerAttributes), which reads Opacity, Visible, OffsetX and OffsetY.

This may also be why Width and Height are now optional in ImageLayer, since these were legacy attributes in the old Tiled Java application that are no longer used.

Someday we may as well move the parsing of those attributes into something like an ILayer method, which would then be inherited by Layer, ObjectLayer and ImageLayer.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant