Tiles now record their textures and this is loaded from the map then converted to an indexed integer on the fly.

This commit is contained in:
Zed A. Shaw 2025-01-31 13:37:01 -05:00
parent 9e3e347e4a
commit a67d25ee10
10 changed files with 64 additions and 66 deletions

View file

@ -22,5 +22,5 @@ struct Animator {
void step(sf::Sprite& sprite, int rect_x, int rect_y, int rect_w, int rect_h);
void play();
void play(bool sound_too=true);
};