X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2Finput%2FinputManager.h;h=a50f13dc771457910ba36e97899937ce29787119;hb=b85b89ba9a2cb0373209e8117046fd308faf0202;hp=829dbc32637f106273659a467e87c6e20d181572;hpb=d6ce2baff0c3bfe8dce98d9b9325f84add6a2e72;p=physics.git diff --git a/src/input/inputManager.h b/src/input/inputManager.h index 829dbc3..a50f13d 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 pg; +#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