created input, graphics and game namespaces
[physics.git] / src / input / inputManager.h
index 8e708d9..cd1d331 100644 (file)
@@ -3,17 +3,21 @@
 
 #include <SDL/SDL.h>
 
+
 /// ***** Header Methods *****
 
-void inputInit();
-void inputClean();
+namespace input
+{
+    void init();
+    void clean();
 
-void inputUpdate();
+    void update();
 
-bool isPressed(Uint8);
-bool isReleased(Uint8);
+    bool isPressed(Uint8);
+    bool isReleased(Uint8);
 
-bool wasPressed(Uint8);
-bool wasReleased(Uint8);
+    bool wasPressed(Uint8);
+    bool wasReleased(Uint8);
+}
 
 #endif // INPUT_H