Animations are now happening lock-step but I have to add random animations in next_combat for it to work. Need more for each result.

This commit is contained in:
Zed A. Shaw 2026-01-10 23:54:52 -05:00
parent 63260f01b9
commit c6639998ec
9 changed files with 60 additions and 4 deletions

View file

@ -21,6 +21,10 @@ namespace boss {
$view_texture({BOSS_VIEW_WIDTH, BOSS_VIEW_HEIGHT}),
$view_sprite($view_texture.getTexture())
{
$arena.set_end_cb([&]() {
$world->send<game::Event>(game::Event::ANIMATION_END, DinkyECS::NONE, {});
});
$view_sprite.setPosition({BOSS_VIEW_X, BOSS_VIEW_Y});
}