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

Have layer common data in a single struct #130

Closed
aleokdev opened this issue Jan 25, 2022 · 1 comment · Fixed by #131
Closed

Have layer common data in a single struct #130

aleokdev opened this issue Jan 25, 2022 · 1 comment · Fixed by #131
Assignees
Milestone

Comments

@aleokdev
Copy link
Contributor

Pack all common data from all types of layers in a single struct and specialize between different layer types (e.g. group, image, tile) with an enum. This will allow to have all map layers in a single member and remove the layer_index member.

@aleokdev aleokdev self-assigned this Jan 25, 2022
@aleokdev
Copy link
Contributor Author

Screenshot_20220125_204633
Fun awaits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant