This commit refactors tileset.py to simplify the implementation and properly cache both tile data and image data. This results in a roughly 50% speedup in image generation. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| battlemap.py | ||
| cli.py | ||
| generator.py | ||
| grid.py | ||
| tileset.py | ||
This commit refactors tileset.py to simplify the implementation and properly cache both tile data and image data. This results in a roughly 50% speedup in image generation. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| battlemap.py | ||
| cli.py | ||
| generator.py | ||
| grid.py | ||
| tileset.py | ||