Now the rat king screams.
This commit is contained in:
parent
7c11ffa2af
commit
e1da089600
2 changed files with 7 additions and 2 deletions
|
|
@ -160,6 +160,11 @@ namespace boss {
|
|||
}
|
||||
|
||||
if($boss_anim.playing) {
|
||||
if($boss_anim.current == 0) {
|
||||
auto scream = $world->get<components::Sound>($boss_id);
|
||||
sound::play(scream.attack);
|
||||
}
|
||||
|
||||
animation::apply($boss_anim, *$boss_sprite.sprite, $boss_pos);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue