]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/NumberAnimation.h
use correct headline in SelectIkari
[l2e.git] / src / battle / NumberAnimation.h
index 2c96b5e816d256587d3de658931ad87248aa86c5..f7530562f048233788f7572ba6ae1c92bbebf51a 100644 (file)
@@ -8,9 +8,9 @@
 #ifndef BATTLE_NUMBERANIMATION_H_
 #define BATTLE_NUMBERANIMATION_H_
 
-#include "../graphics/ComplexAnimation.h"
+#include "../graphics/Animation.h"
 
-#include "../geometry/Point.h"
+#include "../geometry/Vector.h"
 
 namespace app {
        class Application;
@@ -23,7 +23,7 @@ class NumberAnimation {
 
 public:
        NumberAnimation() : number(-1) { }
-       NumberAnimation(int number, const graphics::ComplexAnimation &prototype, const graphics::Sprite *numbers);
+       NumberAnimation(int number, const graphics::Animation *prototype, const graphics::Sprite *numbers);
 
 public:
        void Start(app::State &);
@@ -33,11 +33,11 @@ public:
        int Width() const;
        int Height() const;
 
-       void Draw(SDL_Surface *dest, const geometry::Point<int> &position) const;
+       void Draw(SDL_Surface *dest, const geometry::Vector<int> &position) const;
 
 private:
        int number;
-       graphics::ComplexAnimation animation[4];
+       graphics::AnimationRunner animation[4];
 
 };