X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FAttackTypeMenu.h;h=5f10c463f18b68d492c94ed38eb910cd54861b34;hb=d7d5ff97b2e4136141f5603d0ec9cef1d4467749;hp=aa5f9c5486029db579de168f04a978feb91a655e;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/battle/AttackTypeMenu.h b/src/battle/AttackTypeMenu.h index aa5f9c5..5f10c46 100644 --- a/src/battle/AttackTypeMenu.h +++ b/src/battle/AttackTypeMenu.h @@ -2,7 +2,7 @@ #define BATTLE_ATTACKTYPEMENU_H_ #include "AttackChoice.h" -#include "../geometry/Vector.h" +#include "../math/Vector.h" #include "../graphics/Sprite.h" #include @@ -18,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; @@ -35,4 +35,4 @@ private: } -#endif /* BATTLE_ATTACKTYPEMENU_H_ */ +#endif