]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/NumberAnimation.h
adjusted NumberAnimation to use animation runner
[l2e.git] / src / battle / NumberAnimation.h
index 2c96b5e816d256587d3de658931ad87248aa86c5..08ca01ff2886f322916592c4f261f7938de5970b 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef BATTLE_NUMBERANIMATION_H_
 #define BATTLE_NUMBERANIMATION_H_
 
-#include "../graphics/ComplexAnimation.h"
+#include "../graphics/Animation.h"
 
 #include "../geometry/Point.h"
 
@@ -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 &);
@@ -37,7 +37,7 @@ public:
 
 private:
        int number;
-       graphics::ComplexAnimation animation[4];
+       graphics::AnimationRunner animation[4];
 
 };