Spritesheet animator for an animated sprite.
More...
#include <SpriteAnimator.h>
|
PureResult | ParseAnimation (TextureAtlas const &textureAtlas, vector< unique_ptr< JsonResult > >::value_type const &armature) |
|
PureResult | Create (std::unique_ptr< JsonResult > const &jsonDoc, TextureAtlas const &textureAtlas) |
|
void | Update (float frameTime) |
|
float | GetCurrentAnimationTime () const override |
|
void | ApplyAnimation (SpriteComponent &sprite) const |
|
vector< StringId > | GetAllAnimationIDs () const |
|
std::vector< string > | GetAllAnimationNames () const override |
|
void | SetCurrentAnimation (string const &newName) override |
|
std::optional< string > | CurrentAnimationName () const override |
|
virtual void | SetCurrentAnimation (std::string const &animationName)=0 |
|
virtual std::optional< std::string > | CurrentAnimationName () const =0 |
|
virtual float | GetCurrentAnimationTime () const =0 |
|
virtual std::vector< std::string > | GetAllAnimationNames () const =0 |
|
Spritesheet animator for an animated sprite.
◆ CurrentAnimationName()
std::optional< string > AnimationSystem::Sprite::SpriteAnimator::CurrentAnimationName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetAllAnimationNames()
std::vector< string > AnimationSystem::Sprite::SpriteAnimator::GetAllAnimationNames |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetCurrentAnimationTime()
float AnimationSystem::Sprite::SpriteAnimator::GetCurrentAnimationTime |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files:
- C:/Users/Jay Bretherton/Documents/GitHub/418/Projects/animated_mesh/build/vs2017/AnimationSystemSprite/SpriteSheet/SpriteAnimator.h
- C:/Users/Jay Bretherton/Documents/GitHub/418/Projects/animated_mesh/build/vs2017/AnimationSystemSprite/SpriteSheet/SpriteAnimator.cpp