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