projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
created input, graphics and game namespaces
[physics.git]
/
src
/
input
/
inputManager.h
diff --git
a/src/input/inputManager.h
b/src/input/inputManager.h
index
8e708d9
..
cd1d331
100644
(file)
--- a/
src/input/inputManager.h
+++ b/
src/input/inputManager.h
@@
-3,17
+3,21
@@
#include <SDL/SDL.h>
#include <SDL/SDL.h>
+
/// ***** Header Methods *****
/// ***** Header Methods *****
-void inputInit();
-void inputClean();
+namespace input
+{
+ void init();
+ void clean();
-
void inputU
pdate();
+
void u
pdate();
-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
#endif // INPUT_H