]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/AttackTypeMenu.h
renamed namespace geometry -> math
[l2e.git] / src / battle / AttackTypeMenu.h
index aa5f9c5486029db579de168f04a978feb91a655e..6d32daf019c7c2bbface0a08475ac451174739b2 100644 (file)
@@ -2,7 +2,7 @@
 #define BATTLE_ATTACKTYPEMENU_H_
 
 #include "AttackChoice.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 #include "../graphics/Sprite.h"
 
 #include <SDL.h>
@@ -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<int> &position);
+       void Render(SDL_Surface *screen, const math::Vector<int> &position);
 
        int Width() const { return 3 * IconWidth(); }
        int Height() const { return 3 * IconHeight(); }
-       geometry::Vector<int> Size() const { return 3 * IconSize(); }
+       math::Vector<int> Size() const { return 3 * IconSize(); }
        int IconWidth() const { return icons->Width(); }
        int IconHeight() const { return icons->Height(); }
-       const geometry::Vector<int> &IconSize() const { return icons->Size(); }
+       const math::Vector<int> &IconSize() const { return icons->Size(); }
 
 private:
        const graphics::Sprite *icons;