blob: 733400689facd81baba66e628b3b78d4f1d2d351 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "Event.h"
#include "EventLoop.h"
#include <SDL.h>
class EventLoopSDL final : public EventLoop {
public:
EventLoopSDL();
virtual ~EventLoopSDL() override;
private:
virtual void waitForEvent() override;
void handleKeyEvent(Event::Type, const SDL_KeyboardEvent&);
};
|