X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectAttackType.cpp;h=351ad1c3584337d85a4d6b4baa3bc20a7a8fc3bb;hb=65158353d1ecbed0032752863c6c4eb96b1a084a;hp=fbd43336769f1c3d570c3e867d948b1340accc3c;hpb=0542849dfccfec1ce1477265fa0fee2401a8fb23;p=l2e.git diff --git a/src/battle/states/SelectAttackType.cpp b/src/battle/states/SelectAttackType.cpp index fbd4333..351ad1c 100644 --- a/src/battle/states/SelectAttackType.cpp +++ b/src/battle/states/SelectAttackType.cpp @@ -27,15 +27,15 @@ using geometry::Vector; namespace battle { -void SelectAttackType::EnterState(Application &c, SDL_Surface *screen) { +void SelectAttackType::OnEnterState(Application &c, SDL_Surface *screen) { ctrl = &c; } -void SelectAttackType::ExitState(Application &c, SDL_Surface *screen) { +void SelectAttackType::OnExitState(Application &c, SDL_Surface *screen) { ctrl = 0; } -void SelectAttackType::ResumeState(Application &ctrl, SDL_Surface *screen) { +void SelectAttackType::OnResumeState(Application &ctrl, SDL_Surface *screen) { if (battle->ActiveHero().GetAttackChoice().Selection().HasSelected()) { battle->ActiveHero().GetAttackChoice().SetType(battle->GetAttackTypeMenu().Selected()); battle->NextHero(); @@ -46,7 +46,7 @@ void SelectAttackType::ResumeState(Application &ctrl, SDL_Surface *screen) { } } -void SelectAttackType::PauseState(Application &ctrl, SDL_Surface *screen) { +void SelectAttackType::OnPauseState(Application &ctrl, SDL_Surface *screen) { }