alpine-alpaca / asefile

Library for loading Aseprite files. Directly reads binary Aseprite files and does not require you to export files to JSON.
MIT License
43 stars 15 forks source link

TilesetsById iterator #14

Closed B-Reif closed 2 years ago

B-Reif commented 2 years ago

The map function for TilesetsById has been commented out. Without it, it's impossible to iterate over entries within the inner HashMap. It would be nice to either reinstate the method (rust naming conventions suggest this method be called .inner()), or implement other access methods like a custom iterator.

B-Reif commented 2 years ago

Because TilesetId is now a private type, we can't actually expose the inner value. #15 adds an iter function to iterate over the tileset values.

alpine-alpaca commented 2 years ago

Merged and released with v0.3.3