Go to the documentation of this file.
8 #ifndef MODELANIMATION_HPP_
9 #define MODELANIMATION_HPP_
49 operator ::ModelAnimation()
const;
::ModelAnimation _animation
Definition: ModelAnimation.hpp:44
~ModelAnimation()=default
Default destructor.
size_t getFrameCounter() const
Returns the current frame the animation is at.
Definition: ModelAnimation.cpp:16
A Holder for Model Animations.
Definition: ModelAnimation.hpp:16
ModelAnimation & operator=(const ModelAnimation &)=default
A model animation is assignable.
Definition: IAudio.hpp:12
ModelAnimation(::ModelAnimation animation)
A Model animation constructor.
Definition: ModelAnimation.cpp:11
size_t getFrameCount() const
Returns the number of frame in the animation.
Definition: ModelAnimation.cpp:21
ModelAnimation & incrementFrameCounter()
Increment the frame counter.
Definition: ModelAnimation.cpp:32
ModelAnimation & setFrameCounter(size_t frameCounter)
Set the frame the position is at.
Definition: ModelAnimation.cpp:26
size_t _frameCounter
Definition: ModelAnimation.hpp:46