]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/PerformAttacks.h
added numbers animation for monsters' attacks
[l2e.git] / src / battle / states / PerformAttacks.h
index 556ae43b5b0bb93b5210457ebb449afa9cc58d0c..19e3200a42f2825504055ba1983d8fcffc1eeff6 100644 (file)
@@ -42,10 +42,10 @@ private:
        void CheckAnimations();
        bool HasAnimationsRunning() const;
        void ResetAnimation();
-       void AdvanceCursor();
-       bool Finished() const { return cursor >= int(order.size()); }
 
 private:
+       void AddNumberAnimations(const TargetSelection &);
+
        void RenderTitleBar(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
        void RenderNumbers(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
        void RenderTargetAnimation(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
@@ -58,7 +58,6 @@ private:
        const char *titleBarText;
        app::Timer<Uint32> titleBarTimer;
        app::Timer<Uint32> targetAnimationTimer;
-       std::vector<BattleState::Order> order;
        std::vector<NumberAnimation> numberAnimation;
        std::vector<geometry::Point<int> > numberPosition;
        int cursor;