mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-26 07:49:33 +00:00
animation component should theoretically work
This commit is contained in:
@@ -22,6 +22,6 @@ namespace BBM
|
||||
auto &anim = entity.getComponent<AnimationsComponent>();
|
||||
|
||||
model.member.setAnimation(anim.getCurrentModelAnim());
|
||||
anim.setAnimFrameCounter(anim.getAnimFrameCounter() + 1);
|
||||
anim.setCurrentAnimFrameCounter(anim.getCurrentAnimFrameCounter() + 1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user