X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FPerformAttacks.cpp;fp=src%2Fbattle%2Fstates%2FPerformAttacks.cpp;h=2c82c09aa1d6cb02ec2733a043710e03fdd5e32e;hb=65158353d1ecbed0032752863c6c4eb96b1a084a;hp=19fccb08d7384539add191705bfc160c5f097d9b;hpb=f6691e2827a7eb8d2bdd3fbe175ecbfda09357ae;p=l2e.git diff --git a/src/battle/states/PerformAttacks.cpp b/src/battle/states/PerformAttacks.cpp index 19fccb0..2c82c09 100644 --- a/src/battle/states/PerformAttacks.cpp +++ b/src/battle/states/PerformAttacks.cpp @@ -29,23 +29,23 @@ using std::vector; namespace battle { -void PerformAttacks::EnterState(Application &c, SDL_Surface *screen) { +void PerformAttacks::OnEnterState(Application &c, SDL_Surface *screen) { ctrl = &c; battle->CalculateAttackOrder(); numberAnimation.reserve(battle->MaxMonsters() > battle->NumHeroes() + 1 ? battle->MaxMonsters() : battle->NumHeroes() + 1); numberPosition.reserve(numberAnimation.size()); } -void PerformAttacks::ExitState(Application &c, SDL_Surface *screen) { +void PerformAttacks::OnExitState(Application &c, SDL_Surface *screen) { battle->ClearAllAttacks(); ctrl = 0; } -void PerformAttacks::ResumeState(Application &ctrl, SDL_Surface *screen) { +void PerformAttacks::OnResumeState(Application &ctrl, SDL_Surface *screen) { } -void PerformAttacks::PauseState(Application &ctrl, SDL_Surface *screen) { +void PerformAttacks::OnPauseState(Application &ctrl, SDL_Surface *screen) { }