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:
parent
63260f01b9
commit
c6639998ec
9 changed files with 60 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue