X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FNumberAnimation.h;fp=src%2Fbattle%2FNumberAnimation.h;h=08ca01ff2886f322916592c4f261f7938de5970b;hb=2d54ee208839678d0125a53c7973c098fd8c98b7;hp=2c96b5e816d256587d3de658931ad87248aa86c5;hpb=7d27966b2b6fa73c8491130c65cf03929c225960;p=l2e.git diff --git a/src/battle/NumberAnimation.h b/src/battle/NumberAnimation.h index 2c96b5e..08ca01f 100644 --- a/src/battle/NumberAnimation.h +++ b/src/battle/NumberAnimation.h @@ -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]; };