X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FAttackTypeMenu.h;h=6d32daf019c7c2bbface0a08475ac451174739b2;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=aa5f9c5486029db579de168f04a978feb91a655e;hpb=ef2496b3cb7ce66b7f831278be66261834b732e5;p=l2e.git diff --git a/src/battle/AttackTypeMenu.h b/src/battle/AttackTypeMenu.h index aa5f9c5..6d32daf 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;