2#include <game/mLib/m_3d/banm.hpp>
24 void set(
float duration,
m3d::playMode_e playMode,
float updateRate,
float startFrame);
virtual void play()
Updates the animation. Call this function every frame to update the animation.
float mCurrFrame
The frame the animation is currently on.
bool isStop() const
Checks whether the animation is stopped.
void setFrame(float frame)
Jumps to the specified frame in the animation.
virtual ~fanm_c()
Destroys the animation object.
fanm_c()
Constructs an animation object.
bool checkFrame(float frame) const
Checks whether the animation has reached the specified frame.
float mFrameMax
The last frame number of the animation.
u8 mPlayMode
The play mode of the animation.
float mFrameStart
The first frame number of the animation.
void set(float duration, m3d::playMode_e playMode, float updateRate, float startFrame)
Starts the animation with the given parameters.