4 * Created on: Aug 7, 2012
10 #include "../geometry/Vector.h"
11 #include "../graphics/Sprite.h"
13 using geometry::Vector;
17 void MoveMenu::Render(SDL_Surface *screen, const geometry::Vector<int> &position) {
18 Vector<int> attackOffset(0, IconHeight());
19 Vector<int> changeOffset(0, 0);
20 Vector<int> runOffset(0, 2 * IconHeight());
22 icons->Draw(screen, position + attackOffset, ATTACK, (selected == ATTACK) ? 1 : 0);
23 icons->Draw(screen, position + changeOffset, CHANGE, (selected == CHANGE) ? 1 : 0);
24 icons->Draw(screen, position + runOffset, RUN, (selected == RUN) ? 1 : 0);