X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSwapHeroes.h;h=1f98772a1952e208844c422c38f6d5c0761ed457;hb=eb2ad5ffd08128d31af32f3929a3295fcfa251e9;hp=7ebf3f59229d5e14f52c04ed24c3189bd3cd823d;hpb=5d1a76ae7725af998c6ee46adfe492c68ee1d34f;p=l2e.git diff --git a/src/battle/states/SwapHeroes.h b/src/battle/states/SwapHeroes.h index 7ebf3f5..1f98772 100644 --- a/src/battle/states/SwapHeroes.h +++ b/src/battle/states/SwapHeroes.h @@ -1,17 +1,16 @@ -/* - * SwapHeroes.h - * - * Created on: Aug 10, 2012 - * Author: holy - */ - #ifndef BATTLE_SWAPHEROES_H_ #define BATTLE_SWAPHEROES_H_ -#include "../fwd.h" +namespace battle { + class BattleState; + class SelectMoveAction; +} + #include "../../app/State.h" #include "../../math/Vector.h" +#include + namespace battle { class SwapHeroes @@ -41,11 +40,14 @@ private: void MoveLeft(); private: - void RenderCursors(SDL_Surface *screen, const math::Vector &offset); + void RenderCursors(SDL_Surface *screen); private: BattleState *battle; SelectMoveAction *parent; + std::vector > positions; + math::Vector cursorOffset; + math::Vector indicatorOffset; int cursor; int selected; bool flipFlop; @@ -54,4 +56,4 @@ private: } -#endif /* BATTLE_SWAPHEROES_H_ */ +#endif