]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/AttackTypeMenu.h
added capsule menu stub
[l2e.git] / src / battle / AttackTypeMenu.h
index d31d63babf03593b07dac87eaa93473d94f2ab81..aa5f9c5486029db579de168f04a978feb91a655e 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * AttackTypeMenu.h
- *
- *  Created on: Aug 6, 2012
- *      Author: holy
- */
-
 #ifndef BATTLE_ATTACKTYPEMENU_H_
 #define BATTLE_ATTACKTYPEMENU_H_
 
@@ -29,8 +22,10 @@ public:
 
        int Width() const { return 3 * IconWidth(); }
        int Height() const { return 3 * IconHeight(); }
+       geometry::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(); }
 
 private:
        const graphics::Sprite *icons;