X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FPerformAttacks.h;h=19e3200a42f2825504055ba1983d8fcffc1eeff6;hb=8639675fbf1d232ab8188dd283149ab650e10336;hp=556ae43b5b0bb93b5210457ebb449afa9cc58d0c;hpb=00b557a47e47d9410730d47d436f6158a3fb79f5;p=l2e.git diff --git a/src/battle/states/PerformAttacks.h b/src/battle/states/PerformAttacks.h index 556ae43..19e3200 100644 --- a/src/battle/states/PerformAttacks.h +++ b/src/battle/states/PerformAttacks.h @@ -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 &offset) const; void RenderNumbers(SDL_Surface *screen, const geometry::Vector &offset) const; void RenderTargetAnimation(SDL_Surface *screen, const geometry::Vector &offset) const; @@ -58,7 +58,6 @@ private: const char *titleBarText; app::Timer titleBarTimer; app::Timer targetAnimationTimer; - std::vector order; std::vector numberAnimation; std::vector > numberPosition; int cursor;