Sound is now working, and the animator tools will play them and also has mute.

This commit is contained in:
Zed A. Shaw 2026-02-06 13:39:34 -05:00
parent a4ffacdb18
commit 46f34828e4
5 changed files with 38 additions and 19 deletions

View file

@ -50,6 +50,7 @@ namespace animator {
sf::Clock $timer;
std::string $cur_form = "idle";
int $cur_form_i = 0;
bool $mute = false;
void init(const std::string &sprite_name, const std::string& background, const std::string &anim_name);
void event(Event ev, std::any data={});