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

Add method to get layers in order #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jjatria
Copy link

@jjatria jjatria commented Mar 14, 2019

This change adds a method to get the layers in a map in the order in which they have been defined, from bottom to top (= in the order in which they are defined in the TMX file).

This makes it easier to programmatically get the layers that need to be rendered in the correct order, without having to know their names, and the order in which these appear.

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.

1 participant