diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-07 20:20:18 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:55 +0200 |
commit | f0824fdebc79fbf3843c2053522107c33e3ce2a3 (patch) | |
tree | e5bd34fa89cbe80cf8a30596766cf95098465aec /src/game/input_configurator.tpp | |
parent | 12fffa7df0685ef6d23ffe888a06695ae490df81 (diff) |
refactor: move directions to vector2 & make vector2 hashable
Diffstat (limited to 'src/game/input_configurator.tpp')
-rw-r--r-- | src/game/input_configurator.tpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/game/input_configurator.tpp b/src/game/input_configurator.tpp deleted file mode 100644 index f3c9482..0000000 --- a/src/game/input_configurator.tpp +++ /dev/null @@ -1,17 +0,0 @@ -#pragma once - -#include "input_configurator.hpp" - -namespace InputActions -{ - -template <Direction::value_type direction> -auto move_cursor(CursorController cursor_controller) -{ - return [cursor_controller]() - { - cursor_controller.move<direction>(1U); - }; -} - -} // namespace InputActions |