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:
parent
9e3e347e4a
commit
a67d25ee10
10 changed files with 64 additions and 66 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue