bcvery1 / tilepix

Library for combining tiled maps with pixel
MIT License
46 stars 14 forks source link

draft implementation #43

Closed ilmanzo closed 5 years ago

ilmanzo commented 5 years ago

Describe the changes Map method for get a layer by its name

Closing issues Resolves #38

ilmanzo commented 5 years ago

I see... but in that case what should be the return type of the function ?

bcvery1 commented 5 years ago

@ilmanzo that is a very valid point!

On second thoughts, three separate functions func GetLayerByName(string) Layer func GetImageLayerByName(string) ImageLayer func GetObjectLayerByName(string) ObjectGroup Would make things cleaner. You can either add those changes to this PR, or I'll raise separate issues for the other two.

Thanks

ilmanzo commented 5 years ago

ok thanks; so I'll provide the three separate functions