renamed libpg to libbear
[physics.git] / src / input / inputManager.h
index a117324..f9a5ace 100644 (file)
 #ifndef INPUT_H
 #define INPUT_H
 
-#include <SDL/SDL.h>
+#include <bear/Vector2.h>
+using namespace bear;
 
+#include <SDL/SDL.h>
 
 /// ***** Header Methods *****
 
@@ -30,11 +32,16 @@ namespace input
 
     void update();
 
-    bool isPressed(Uint8);
-    bool isReleased(Uint8);
+    Vector2 mousePosition();
+
+    bool mouseLeft();
+    bool mouseRight();
+
+    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