]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/AttackTypeMenu.h
switched some (x,y) and (w,h) pairs to vectors
[l2e.git] / src / battle / AttackTypeMenu.h
index d31d63babf03593b07dac87eaa93473d94f2ab81..db07443fd7e008ba26c7045e6108beb162a61cba 100644 (file)
@@ -29,8 +29,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;