X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2Finput%2FinputManager.h;h=e0450b219924a0164ec5b538ef1df2c38acf4567;hp=829dbc32637f106273659a467e87c6e20d181572;hb=4a0863f343fa6f68639759494e3c0f0ab8ae2a76;hpb=719d202f8ac20943df204e4c2bfa6ab491bd1182 diff --git a/src/input/inputManager.h b/src/input/inputManager.h index 829dbc3..e0450b2 100644 --- a/src/input/inputManager.h +++ b/src/input/inputManager.h @@ -21,7 +21,6 @@ #include #include "../Vector2.h" - /// ***** Header Methods ***** namespace input @@ -36,11 +35,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