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

@ -113,6 +113,8 @@ namespace components {
current = 0;
subframe = 0.0f;
}
if(end_cb) end_cb();
}
void Animation::step(sf::Vector2f& scale_out, sf::Vector2f& pos_out, sf::IntRect& rect_out) {