From 38f14606c78c119d452f302f17329455e29a9a6f Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 10 Mar 2022 19:12:31 +0100 Subject: refactor: rename game initializer & move input config --- src/game/input_configurator.hpp | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/game/input_configurator.hpp (limited to 'src/game/input_configurator.hpp') 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 -#include - -namespace InputActions -{ - -auto move_cursor(const Vector2 &direction, ICursorController &cursor_controller); - -void exit_success(); - -} // namespace InputActions - -class InputConfigurator - : public IInputConfigurator, - public AutoWirable -{ -public: - explicit InputConfigurator(std::shared_ptr cursor_controller); - - void configure(IInputHandler &input_handler) override; - -private: - std::shared_ptr _cursor_controller; -}; -- cgit v1.2.3-18-g5258