Commit | Line | Data |
---|---|---|
1 | #ifndef INPUT_H | |
2 | #define INPUT_H | |
3 | ||
4 | #include <SDL/SDL.h> | |
5 | ||
6 | /// ***** Header Methods ***** | |
7 | ||
8 | void inputInit(); | |
9 | void inputClean(); | |
10 | ||
11 | void inputUpdate(); | |
12 | ||
13 | bool isPressed(Uint8); | |
14 | bool isReleased(Uint8); | |
15 | ||
16 | bool wasPressed(Uint8); | |
17 | bool wasReleased(Uint8); | |
18 | ||
19 | #endif // INPUT_H |