added using namespace pg to relavent files ... will remove at some point
[physics.git] / src / input / inputManager.h
index 829dbc3..a50f13d 100644 (file)
 #ifndef INPUT_H
 #define INPUT_H
 
-#include <SDL/SDL.h>
-#include "../Vector2.h"
+#include <pg/Vector2.h>
+using namespace pg;
 
+#include <SDL/SDL.h>
 
 /// ***** 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