]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/BattleState.cpp
added Input class for handling user input
[l2e.git] / src / battle / BattleState.cpp
index c31786eed84aca8db1fa258bb43b8fb50738fa48..9f1acac18d859b83d378f494cc3cc380b71d2f58 100644 (file)
@@ -8,12 +8,15 @@
 #include "BattleState.h"
 
 #include "PartyLayout.h"
+#include "../app/Application.h"
+#include "../app/Input.h"
 #include "../geometry/operators.h"
 #include "../graphics/Sprite.h"
 
 #include <stdexcept>
 
 using app::Application;
+using app::Input;
 using geometry::Point;
 using geometry::Vector;
 
@@ -51,7 +54,7 @@ void BattleState::ExitState() {
 }
 
 
-void BattleState::HandleEvent(const SDL_Event &) {
+void BattleState::HandleInput(const Input &input) {
 
 }