Anim 0.1
|
Single animation for a spritesheet. More...
#include <SpriteAnimation.h>
Public Member Functions | |
SpriteAnimation (StringId name) | |
PureResult | Create (std::unique_ptr< JsonResult > const &armature, TextureAtlas const &textureAtlas) |
void | Update (float frameTime) |
Update the current time of this animation. | |
void | ApplyAnimationToSpriteFrame (SpriteComponent &sprite) const |
float | GetAnimationTime () const |
std::reference_wrapper< SubTextureFrame const > | GetCurrentFrame () const |
Single animation for a spritesheet.