diff --git a/src/input.cpp b/src/input.cpp index 3977441..def4620 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -4,6 +4,7 @@ #include "input.h" + #include #include #include @@ -77,7 +78,7 @@ void Input::updateEvents(){ case sf::Event::Resized: hasBeenResized = true; break; - } + } } for (auto key: heldkeys){ action_file.push(kb.getHoldAction(key)); diff --git a/src/main.cpp b/src/main.cpp index 30fbacb..9b4be22 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,7 @@ #include #include #include "input.h" +//#include "keybindings.h" using namespace std; @@ -14,7 +15,7 @@ int main() myvector.push_back(ACTION_1); myvector.push_back(ACTION_2); -// KeysMap* keymap = new KeysMap("test", 1); +// IKeysMap* keymap = new IKeysMap("test", 1); // keymap->setKeyBinding(ACTION_2,0,sf::Keyboard::Z); // keymap->setTypeAction(ACTION_2,KeysMap::RELEASED);