X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2Finput%2FinputManager.h;h=cd1d33170f69984b2fa3f63e3d684e4474414b8b;hb=68b2316d5438e8ebaaa7f7fdaa8292a8a290e14d;hp=411dcc2de52fb04fd445dc80bf65cee264f6dae9;hpb=f7b3b2eb35e8047d247dfd7cf7b110a2b6e907af;p=physics.git diff --git a/src/input/inputManager.h b/src/input/inputManager.h index 411dcc2..cd1d331 100644 --- a/src/input/inputManager.h +++ b/src/input/inputManager.h @@ -3,13 +3,21 @@ #include + /// ***** Header Methods ***** -void inputUpdate(); -bool isPressed(Uint8); -bool isReleased(Uint8); +namespace input +{ + void init(); + void clean(); + + void update(); + + bool isPressed(Uint8); + bool isReleased(Uint8); -bool wasPressed(Uint8); -bool wasReleased(Uint8); + bool wasPressed(Uint8); + bool wasReleased(Uint8); +} #endif // INPUT_H