summary refs log tree commit diff stats
path: root/src/input_system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_system.h')
-rw-r--r--src/input_system.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/input_system.h b/src/input_system.h new file mode 100644 index 0000000..4e5bb22 --- /dev/null +++ b/src/input_system.h
@@ -0,0 +1,22 @@
1#ifndef INPUT_SYSTEM_H_47764575
2#define INPUT_SYSTEM_H_47764575
3
4#include "system.h"
5
6class Game;
7
8class InputSystem : public System {
9public:
10
11 static constexpr SystemKey Key = SystemKey::Input;
12
13 InputSystem(Game& game) : game_(game) {}
14
15 void tick(double dt) override;
16
17private:
18
19 Game& game_;
20};
21
22#endif /* end of include guard: INPUT_SYSTEM_H_47764575 */