void SelectTarget::HandleEvents(const Input &input) {
if (input.JustPressed(Input::ACTION_A)) {
if (selection->CurrentIsSelected()) {
void SelectTarget::HandleEvents(const Input &input) {
if (input.JustPressed(Input::ACTION_A)) {
if (selection->CurrentIsSelected()) {
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));