ldtk version : git version as at 22d7ee209b7a9f5775d53407253ec9432fc588db Jan 22, 2024
I cannot find out how to iterate the list array of tilesets. The way the macro processing works I end up with _ldtkProject.all_tilesets.Shell0 but no iteration ability. This means that when I'm trying to write a general helper function it's tied to this specific project or I have to extract the tileset id in project specific code and pass it to the helper function.
Is there any way around this or could iterators be added to these objects ?
ldtk version : git version as at 22d7ee209b7a9f5775d53407253ec9432fc588db Jan 22, 2024
I cannot find out how to iterate the list array of tilesets. The way the macro processing works I end up with _ldtkProject.all_tilesets.Shell0 but no iteration ability. This means that when I'm trying to write a general helper function it's tied to this specific project or I have to extract the tileset id in project specific code and pass it to the helper function.
Is there any way around this or could iterators be added to these objects ?