renamed libpg to libbear
[physics.git] / src / input / inputManager.h
index 13b6583..f9a5ace 100644 (file)
 #ifndef INPUT_H
 #define INPUT_H
 
-#include <SDL/SDL.h>
-#include "../Vector2.h"
+#include <bear/Vector2.h>
+using namespace bear;
 
+#include <SDL/SDL.h>
 
 /// ***** Header Methods *****
 
@@ -36,11 +37,11 @@ namespace input
     bool mouseLeft();
     bool mouseRight();
 
-    bool isPressed(Uint8);
-    bool isReleased(Uint8);
+    bool isPressed(const SDLKey&);
+    bool isReleased(const SDLKey&);
 
-    bool wasPressed(Uint8);
-    bool wasReleased(Uint8);
+    bool wasPressed(const SDLKey&);
+    bool wasReleased(const SDLKey&);
 }
 
 #endif // INPUT_H