4 * Created on: Aug 12, 2012
8 #ifndef BATTLE_NUMBERANIMATION_H_
9 #define BATTLE_NUMBERANIMATION_H_
11 #include "../graphics/Animation.h"
13 #include "../geometry/Vector.h"
22 class NumberAnimation {
25 NumberAnimation() : number(-1) { }
26 NumberAnimation(int number, const graphics::Animation *prototype, const graphics::Sprite *numbers);
29 void Start(app::State &);
31 void CheckTimers(app::State &);
36 void Draw(SDL_Surface *dest, const geometry::Vector<int> &position) const;
40 graphics::AnimationRunner animation[4];
46 #endif /* BATTLE_NUMBERANIMATION_H_ */