X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbattle%2Fstates%2FSelectAttackType.cpp;h=0dd5bc472a4aff0177dbd15ccb244a0d026d0ceb;hb=5d1a76ae7725af998c6ee46adfe492c68ee1d34f;hp=31a0be0e2e853a6ddb90e623156d3621486981e8;hpb=3f8fac16c7ae2cbe7da47b98aba9b558825723e7;p=l2e.git diff --git a/src/battle/states/SelectAttackType.cpp b/src/battle/states/SelectAttackType.cpp index 31a0be0..0dd5bc4 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) { } @@ -121,7 +121,7 @@ void SelectAttackType::HandleEvents(const Input &input) { } } -void SelectAttackType::UpdateWorld(float deltaT) { +void SelectAttackType::UpdateWorld(Uint32 deltaT) { }