Cleaning u

This commit is contained in:
Zoe Roux
2021-06-14 16:07:24 +02:00
parent 9b385349dc
commit 10a73e07d1
5 changed files with 8 additions and 15 deletions

View File

@@ -34,7 +34,7 @@ namespace BBM
size_t getCurrentAnimFrameCounter() const;
//! @brief get the current
RAY::ModelAnimation &getCurrentModelAnim();
RAY::ModelAnimation getCurrentModelAnim();
//! @brief set the anim frame counter
void setCurrentAnimFrameCounter(size_t animFrameCounter);
@@ -52,7 +52,7 @@ namespace BBM
bool isAnimDisabled() const;
//! @brief ctor entity and the path of the animation file
AnimationsComponent(WAL::Entity &entity, int animIndex, bool play = true);
explicit AnimationsComponent(WAL::Entity &entity, RAY::ModelAnimations modelAnimation, int animIndex, bool play = true);
//! @brief copy ctor
AnimationsComponent(const AnimationsComponent &) = default;
//! @brief dtor