X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FAttackTypeMenu.h;h=aa5f9c5486029db579de168f04a978feb91a655e;hb=ef2496b3cb7ce66b7f831278be66261834b732e5;hp=d31d63babf03593b07dac87eaa93473d94f2ab81;hpb=0542849dfccfec1ce1477265fa0fee2401a8fb23;p=l2e.git diff --git a/src/battle/AttackTypeMenu.h b/src/battle/AttackTypeMenu.h index d31d63b..aa5f9c5 100644 --- a/src/battle/AttackTypeMenu.h +++ b/src/battle/AttackTypeMenu.h @@ -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 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(); } private: const graphics::Sprite *icons;