1 #ifndef BATTLE_MOVEMENU_H_
2 #define BATTLE_MOVEMENU_H_
4 #include "../math/Vector.h"
5 #include "../graphics/Sprite.h"
19 explicit MoveMenu(const graphics::Sprite *icons)
20 : icons(icons), selected(ATTACK) { }
24 void Select(Icon i) { selected = i; }
25 Icon Selected() const { return selected; }
26 void Render(SDL_Surface *screen, const math::Vector<int> &position);
28 int Width() const { return IconWidth(); }
29 int Height() const { return 3 * IconHeight(); }
30 int IconWidth() const { return icons->Width(); }
31 int IconHeight() const { return icons->Height(); }
34 const graphics::Sprite *icons;