X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FMoveMenu.h;h=60feb00a17ec213c08c393fdcbfd765a42f82dfc;hb=4309d259becd96ead792678257e910c03a6b4a3d;hp=771fcb8692f1ed287779644105e5b7dba86528ae;hpb=628b3a7276d0b330719e05504b23bafcf88f8fca;p=l2e.git diff --git a/src/battle/MoveMenu.h b/src/battle/MoveMenu.h index 771fcb8..60feb00 100644 --- a/src/battle/MoveMenu.h +++ b/src/battle/MoveMenu.h @@ -1,14 +1,7 @@ -/* - * MoveMenu.h - * - * Created on: Aug 7, 2012 - * Author: holy - */ - #ifndef BATTLE_MOVEMENU_H_ #define BATTLE_MOVEMENU_H_ -#include "../geometry/Point.h" +#include "../math/Vector.h" #include "../graphics/Sprite.h" namespace battle { @@ -30,7 +23,7 @@ public: public: void Select(Icon i) { selected = i; } Icon Selected() const { return selected; } - void Render(SDL_Surface *screen, const geometry::Point &position); + void Render(SDL_Surface *screen, const math::Vector &position); int Width() const { return IconWidth(); } int Height() const { return 3 * IconHeight(); } @@ -45,4 +38,4 @@ private: } -#endif /* BATTLE_MOVEMENU_H_ */ +#endif