3 #include "../math/Vector.h"
4 #include "../graphics/Sprite.h"
10 void MoveMenu::Render(SDL_Surface *screen, const math::Vector<int> &position) {
11 Vector<int> attackOffset(0, IconHeight());
12 Vector<int> changeOffset(0, 0);
13 Vector<int> runOffset(0, 2 * IconHeight());
15 icons->Draw(screen, position + attackOffset, ATTACK, (selected == ATTACK) ? 1 : 0);
16 icons->Draw(screen, position + changeOffset, CHANGE, (selected == CHANGE) ? 1 : 0);
17 icons->Draw(screen, position + runOffset, RUN, (selected == RUN) ? 1 : 0);