X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSwapHeroes.h;h=1f98772a1952e208844c422c38f6d5c0761ed457;hb=0b11a24a8b08c49d6e4301573602fb6d01e7a8c8;hp=eec03917aa9006dc7e12bc2a9917ecc663643a09;hpb=d97b7038c28058a76e7214e0dce0394fd8b67cff;p=l2e.git diff --git a/src/battle/states/SwapHeroes.h b/src/battle/states/SwapHeroes.h index eec0391..1f98772 100644 --- a/src/battle/states/SwapHeroes.h +++ b/src/battle/states/SwapHeroes.h @@ -5,12 +5,11 @@ namespace battle { class BattleState; class SelectMoveAction; } -namespace math { - template - class Vector; -} #include "../../app/State.h" +#include "../../math/Vector.h" + +#include namespace battle { @@ -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;