aboutsummaryrefslogtreecommitdiff
path: root/src/engine/user/input.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-23 19:47:25 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:57:00 +0200
commit6d89d5db5140c04cc94bf4791a32a06a89e95b62 (patch)
treed7ac1cf4f9d65fefedc3adf227f39cf18c9507a0 /src/engine/user/input.hpp
parent4b8db1ab0ae53bd8f6685af2fb55a550c04f8199 (diff)
refactor: improve input handling in game loop
Diffstat (limited to 'src/engine/user/input.hpp')
-rw-r--r--src/engine/user/input.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/user/input.hpp b/src/engine/user/input.hpp
index 3cec1b8..29534e8 100644
--- a/src/engine/user/input.hpp
+++ b/src/engine/user/input.hpp
@@ -18,6 +18,8 @@ public:
bool is_key_pressed(Key key) noexcept override;
+ Key get_currently_pressed_key() const noexcept override;
+
void clear_currently_pressed() noexcept override;
private: