created input, graphics and game namespaces
[physics.git] / src / input / inputManager.h
... / ...
CommitLineData
1#ifndef INPUT_H
2#define INPUT_H
3
4#include <SDL/SDL.h>
5
6
7/// ***** Header Methods *****
8
9namespace input
10{
11 void init();
12 void clean();
13
14 void update();
15
16 bool isPressed(Uint8);
17 bool isReleased(Uint8);
18
19 bool wasPressed(Uint8);
20 bool wasReleased(Uint8);
21}
22
23#endif // INPUT_H