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