]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/AttackTypeMenu.h
removed useless comments
[l2e.git] / src / battle / AttackTypeMenu.h
index d31d63babf03593b07dac87eaa93473d94f2ab81..5f10c463f18b68d492c94ed38eb910cd54861b34 100644 (file)
@@ -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 <SDL.h>
@@ -25,12 +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(); }
+       math::Vector<int> Size() const { return 3 * IconSize(); }
        int IconWidth() const { return icons->Width(); }
        int IconHeight() const { return icons->Height(); }
+       const math::Vector<int> &IconSize() const { return icons->Size(); }
 
 private:
        const graphics::Sprite *icons;
@@ -40,4 +35,4 @@ private:
 
 }
 
-#endif /* BATTLE_ATTACKTYPEMENU_H_ */
+#endif