X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2Finput%2FinputManager.h;h=f9a5ace67b2dfa75f64be6d9c19e45c7b91af09b;hb=5e0713e5967be038b1b0cc5f0ffbd0180e3f7099;hp=829dbc32637f106273659a467e87c6e20d181572;hpb=d6ce2baff0c3bfe8dce98d9b9325f84add6a2e72;p=physics.git diff --git a/src/input/inputManager.h b/src/input/inputManager.h index 829dbc3..f9a5ace 100644 --- a/src/input/inputManager.h +++ b/src/input/inputManager.h @@ -18,9 +18,10 @@ #ifndef INPUT_H #define INPUT_H -#include -#include "../Vector2.h" +#include +using namespace bear; +#include /// ***** Header Methods ***** @@ -36,11 +37,11 @@ namespace input bool mouseLeft(); bool mouseRight(); - bool isPressed(SDLKey); - bool isReleased(SDLKey); + bool isPressed(const SDLKey&); + bool isReleased(const SDLKey&); - bool wasPressed(SDLKey); - bool wasReleased(SDLKey); + bool wasPressed(const SDLKey&); + bool wasReleased(const SDLKey&); } #endif // INPUT_H