bootleg-game-engine/include/input.h

14 lines
192 B
C
Raw Normal View History

2024-09-06 09:34:29 +00:00
#include <SDL.h>
#include <map>
#include <string>
class Input
{
private:
SDL_Event event;
public:
bool exit;
std::map<SDL_Keycode, bool> activeKeys;
void update();
};