Sound is now working, and the animator tools will play them and also has mute.
This commit is contained in:
parent
a4ffacdb18
commit
46f34828e4
5 changed files with 38 additions and 19 deletions
|
|
@ -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={});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue