From 78f5d8cf644383adf20933ad64c160c07c2c54fb Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 20 Mar 2022 13:17:16 +0100 Subject: refactor: improve input configuring structure --- src/engine/engine.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/engine/engine.hpp') diff --git a/src/engine/engine.hpp b/src/engine/engine.hpp index 42cc297..32afa56 100644 --- a/src/engine/engine.hpp +++ b/src/engine/engine.hpp @@ -1,11 +1,11 @@ #pragma once #include "DI/auto_wirable.hpp" +#include "interfaces/command.hpp" #include "interfaces/cursor.hpp" #include "interfaces/engine.hpp" #include "interfaces/game.hpp" #include "interfaces/input.hpp" -#include "interfaces/observable.hpp" #include "interfaces/scene.hpp" #include "interfaces/window.hpp" @@ -33,6 +33,6 @@ private: std::shared_ptr _cursor_controller; std::shared_ptr _window; - void - _configure_input(const std::unordered_map &input_config) noexcept; + void _configure_input( + const std::unordered_map> &input_config) noexcept; }; -- cgit v1.2.3-18-g5258