4 * Created on: Aug 7, 2012
8 #ifndef BATTLE_MOVEMENU_H_
9 #define BATTLE_MOVEMENU_H_
11 #include "../geometry/Vector.h"
12 #include "../graphics/Sprite.h"
26 explicit MoveMenu(const graphics::Sprite *icons)
27 : icons(icons), selected(ATTACK) { }
31 void Select(Icon i) { selected = i; }
32 Icon Selected() const { return selected; }
33 void Render(SDL_Surface *screen, const geometry::Vector<int> &position);
35 int Width() const { return IconWidth(); }
36 int Height() const { return 3 * IconHeight(); }
37 int IconWidth() const { return icons->Width(); }
38 int IconHeight() const { return icons->Height(); }
41 const graphics::Sprite *icons;
48 #endif /* BATTLE_MOVEMENU_H_ */