Anim 0.1
|
A sprite with an animator. More...
#include <IAnimatedSprite.h>
Public Member Functions | |
virtual PureResult | Create (gef::StringId name, string const &filePath, gef::Vector2 const &spritePos, gef::Platform const &platform)=0 |
ValueResult< unique_ptr< gef::Texture > > | LoadTexture (string const &name, gef::Platform const &platform) const |
virtual void | Render (gef::SpriteRenderer &spriteRenderer) const =0 |
virtual void | UpdateAnimation (float frameTime)=0 |
virtual Sprite::ISpriteAnimator & | Animator ()=0 |
virtual Transform2d & | GetTransform ()=0 |
A sprite with an animator.
|
pure virtual |
Implemented in AnimationSystem::Skeletal::SkeletonSprite, and AnimationSystem::Sprite::AtlasAnimationSprite.