bootleg-game-engine/include/input.h
2024-09-06 10:34:29 +01:00

14 lines
192 B
C++

#include <SDL.h>
#include <map>
#include <string>
class Input
{
private:
SDL_Event event;
public:
bool exit;
std::map<SDL_Keycode, bool> activeKeys;
void update();
};