Super awesome twitchy animation for axe guy.
This commit is contained in:
parent
80a0f2ba75
commit
83df9ff03b
10 changed files with 42 additions and 68 deletions
|
@ -164,7 +164,7 @@ void System::combat(GameLevel &level) {
|
|||
|
||||
if(world.has<Animation>(entity)) {
|
||||
auto& animation = world.get<Animation>(entity);
|
||||
animation.current = 0;
|
||||
animation.play();
|
||||
}
|
||||
|
||||
world.send<Events::GUI>(Events::GUI::COMBAT, entity, result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue