#include "../../app/Application.h"
#include "../../app/Input.h"
#include "../../common/Item.h"
-#include "../../geometry/operators.h"
#include <stdexcept>
using app::Application;
using app::Input;
using common::Item;
-using geometry::Point;
using geometry::Vector;
namespace battle {
}
void SelectAttackType::RenderMenu(SDL_Surface *screen, const Vector<int> &offset) {
- Point<int> position(
+ Vector<int> position(
(battle->Width() - battle->GetAttackTypeMenu().Width()) / 2,
battle->Height() - battle->GetAttackTypeMenu().Height() - battle->GetAttackTypeMenu().Height() / 2);
battle->GetAttackTypeMenu().Render(screen, position + offset);