blob: 5612e744423b58d2487bb35d062e4955105494f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef INPUT_H
#define INPUT_H
#include "SDL2/SDL.h"
class Input
{
public:
void PollEvent(SDL_Event& e);
bool IsKeyDown();
bool IsKeyUp();
bool IsKeyClick();
};
extern Input g_Input;
#endif
|