#include "../../app/Input.h"
#include "../../geometry/operators.h"
+using app::Application;
using app::Input;
using geometry::Point;
using geometry::Vector;
namespace battle {
-void SelectMoveAction::EnterState(app::Application &c, SDL_Surface *screen) {
+void SelectMoveAction::EnterState(Application &c, SDL_Surface *screen) {
ctrl = &c;
}
-void SelectMoveAction::ExitState() {
+void SelectMoveAction::ExitState(Application &c, SDL_Surface *screen) {
ctrl = 0;
}
+void SelectMoveAction::ResumeState(Application &ctrl, SDL_Surface *screen) {
+
+}
+
+void SelectMoveAction::PauseState(Application &ctrl, SDL_Surface *screen) {
+
+}
+
void SelectMoveAction::Resize(int width, int height) {
switch (battle->GetMoveMenu().Selected()) {
case MoveMenu::ATTACK:
ctrl->ChangeState(new SelectAttackType(battle));
+ battle->NextHero();
break;
case MoveMenu::CHANGE:
// TODO: switch to change state