Anim 0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AnimationSystem::Sprite::SpriteAnimation Class Reference

Single animation for a spritesheet. More...

#include <SpriteAnimation.h>

Collaboration diagram for AnimationSystem::Sprite::SpriteAnimation:

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
 

Detailed Description

Single animation for a spritesheet.


The documentation for this class was generated from the following files: