8#ifndef ANIMATION_GSPRITEANIMATOR_H_
9#define ANIMATION_GSPRITEANIMATOR_H_
59 void setFps(
int animationId,
int fps);
89 void draw(
int x,
int y,
int w,
int h);
93 std::map<int, std::unique_ptr<gSpriteAnimation>> animations;
Definition gSpriteAnimation.h:73
Definition gSpriteAnimator.h:25
void setFps(int animationId, int fps)
void addAnimation(int animationId, gSpriteAnimation *animation)
virtual ~gSpriteAnimator()
void draw(int x, int y, int w, int h)
void changeAnimation(int animationId)