aboutsummaryrefslogtreecommitdiff
path: root/src/game/input_configurator.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-10 19:12:31 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:55 +0200
commit38f14606c78c119d452f302f17329455e29a9a6f (patch)
tree03f6dfd9d3576e87260f7cb3bc436ad076b629c5 /src/game/input_configurator.hpp
parent09848ad31af6a1c70d64fccee711e231afb5a77f (diff)
refactor: rename game initializer & move input config
Diffstat (limited to 'src/game/input_configurator.hpp')
-rw-r--r--src/game/input_configurator.hpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/game/input_configurator.hpp b/src/game/input_configurator.hpp
deleted file mode 100644
index fa501c7..0000000
--- a/src/game/input_configurator.hpp
+++ /dev/null
@@ -1,33 +0,0 @@
-#pragma once
-
-#include "DI/auto_wirable.hpp"
-#include "interfaces/cursor.hpp"
-#include "interfaces/input.hpp"
-#include "interfaces/input_configurator.hpp"
-
-#include "engine/data/vector2.hpp"
-
-#include <array>
-#include <memory>
-
-namespace InputActions
-{
-
-auto move_cursor(const Vector2 &direction, ICursorController &cursor_controller);
-
-void exit_success();
-
-} // namespace InputActions
-
-class InputConfigurator
- : public IInputConfigurator,
- public AutoWirable<IInputConfigurator, InputConfigurator, ICursorController>
-{
-public:
- explicit InputConfigurator(std::shared_ptr<ICursorController> cursor_controller);
-
- void configure(IInputHandler &input_handler) override;
-
-private:
- std::shared_ptr<ICursorController> _cursor_controller;
-};