]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/AttackTypeMenu.cpp
merged Point into Vector
[l2e.git] / src / battle / AttackTypeMenu.cpp
index 2ec7a1f129b26bbe25eadf47232d014023fc8cdd..b18c5221021aca9c32b8618a74b1e0abba78e308 100644 (file)
@@ -7,16 +7,14 @@
 
 #include "AttackTypeMenu.h"
 
-#include "../geometry/operators.h"
 #include "../geometry/Vector.h"
 #include "../graphics/Sprite.h"
 
-using geometry::Point;
 using geometry::Vector;
 
 namespace battle {
 
-void AttackTypeMenu::Render(SDL_Surface *screen, const geometry::Point<int> &position) {
+void AttackTypeMenu::Render(SDL_Surface *screen, const geometry::Vector<int> &position) {
        Vector<int> swordOffset(IconWidth(), IconHeight());
        Vector<int> magicOffset(IconWidth(), 0);
        Vector<int> defendOffset(2 * IconWidth(), IconHeight());