X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectAttackType.cpp;h=9f6e561be43fadea59adcd44eeec6ea0ea022a65;hb=06db9f596cd1c5aa4c0832b387882f7c74c1b4c0;hp=31a0be0e2e853a6ddb90e623156d3621486981e8;hpb=3f8fac16c7ae2cbe7da47b98aba9b558825723e7;p=l2e.git diff --git a/src/battle/states/SelectAttackType.cpp b/src/battle/states/SelectAttackType.cpp index 31a0be0..9f6e561 100644 --- a/src/battle/states/SelectAttackType.cpp +++ b/src/battle/states/SelectAttackType.cpp @@ -23,30 +23,30 @@ using app::Application; using app::Input; using common::Item; -using geometry::Vector; +using math::Vector; namespace battle { -void SelectAttackType::OnEnterState(Application &c, SDL_Surface *screen) { +void SelectAttackType::OnEnterState(SDL_Surface *screen) { } -void SelectAttackType::OnExitState(Application &c, SDL_Surface *screen) { +void SelectAttackType::OnExitState(SDL_Surface *screen) { } -void SelectAttackType::OnResumeState(Application &ctrl, SDL_Surface *screen) { +void SelectAttackType::OnResumeState(SDL_Surface *screen) { if (battle->ActiveHero().GetAttackChoice().Selection().HasSelected()) { battle->ActiveHero().GetAttackChoice().SetType(battle->GetAttackTypeMenu().Selected()); battle->NextHero(); } if (battle->AttackSelectionDone()) { // pass through - ctrl.PopState(); + Ctrl().PopState(); } } -void SelectAttackType::OnPauseState(Application &ctrl, SDL_Surface *screen) { +void SelectAttackType::OnPauseState(SDL_Surface *screen) { }