X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FAttackTypeMenu.h;h=5f10c463f18b68d492c94ed38eb910cd54861b34;hb=4309d259becd96ead792678257e910c03a6b4a3d;hp=db07443fd7e008ba26c7045e6108beb162a61cba;hpb=d20fa78a0dcbc95a69bb6077d2081d42b74a2d1a;p=l2e.git diff --git a/src/battle/AttackTypeMenu.h b/src/battle/AttackTypeMenu.h index db07443..5f10c46 100644 --- a/src/battle/AttackTypeMenu.h +++ b/src/battle/AttackTypeMenu.h @@ -1,15 +1,8 @@ -/* - * AttackTypeMenu.h - * - * Created on: Aug 6, 2012 - * Author: holy - */ - #ifndef BATTLE_ATTACKTYPEMENU_H_ #define BATTLE_ATTACKTYPEMENU_H_ #include "AttackChoice.h" -#include "../geometry/Vector.h" +#include "../math/Vector.h" #include "../graphics/Sprite.h" #include @@ -25,14 +18,14 @@ public: public: void Select(AttackChoice::Type t) { selected = t; } AttackChoice::Type Selected() const { return selected; } - void Render(SDL_Surface *screen, const geometry::Vector &position); + void Render(SDL_Surface *screen, const math::Vector &position); int Width() const { return 3 * IconWidth(); } int Height() const { return 3 * IconHeight(); } - geometry::Vector Size() const { return 3 * IconSize(); } + math::Vector Size() const { return 3 * IconSize(); } int IconWidth() const { return icons->Width(); } int IconHeight() const { return icons->Height(); } - const geometry::Vector &IconSize() const { return icons->Size(); } + const math::Vector &IconSize() const { return icons->Size(); } private: const graphics::Sprite *icons; @@ -42,4 +35,4 @@ private: } -#endif /* BATTLE_ATTACKTYPEMENU_H_ */ +#endif