#include "../BattleState.h"
#include "../../app/Application.h"
#include "../../app/Input.h"
#include "../BattleState.h"
#include "../../app/Application.h"
#include "../../app/Input.h"
Vector<int> cursorOffset(cursorIcon->Width() / -2, cursorIcon->Height());
// offset the indicator by 1/8th to the right and top
Vector<int> indicatorOffset(cursorOffset + Vector<int>(cursorIcon->Width() / 8, cursorIcon->Height() / -8));
Vector<int> cursorOffset(cursorIcon->Width() / -2, cursorIcon->Height());
// offset the indicator by 1/8th to the right and top
Vector<int> indicatorOffset(cursorOffset + Vector<int>(cursorIcon->Width() / 8, cursorIcon->Height() / -8));
for (int i(0), end(battle->MaxMonsters()); i < end; ++i) {
positions.push_back(battle->MonsterAt(i).Position());
}
for (int i(0), end(battle->MaxMonsters()); i < end; ++i) {
positions.push_back(battle->MonsterAt(i).Position());
}
if (selection->IsSelected(i)) {
cursorIcon->DrawTopRight(screen, positions[i] + indicatorOffset + offset);
}
if (selection->IsSelected(i)) {
cursorIcon->DrawTopRight(screen, positions[i] + indicatorOffset + offset);
}