- void ReadInput(const app::Input &);
- Icon Selected() const { return selected; }
- void Render(SDL_Surface *screen, const geometry::Point<int> ¢er);
+ void Select(AttackChoice::Type t) { selected = t; }
+ AttackChoice::Type Selected() const { return selected; }
+ 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(); }