]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SwapHeroes.cpp
added run state to flee from battle
[l2e.git] / src / battle / states / SwapHeroes.cpp
index ab1e6fd2faadf0f64e53635bf082d542b8e6b8c7..f01e60da8603f862f97ad541a321d24c0bad750d 100644 (file)
@@ -44,7 +44,7 @@ void SwapHeroes::Resize(int width, int height) {
 }
 
 
-void SwapHeroes::HandleInput(const Input &input) {
+void SwapHeroes::HandleEvents(const Input &input) {
        if (input.JustPressed(Input::ACTION_A)) {
                if (selected != -1 && cursor != selected) {
                        battle->SwapHeroes(cursor, selected);