diff options
Diffstat (limited to 'src/engine/engine.hpp')
-rw-r--r-- | src/engine/engine.hpp | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/src/engine/engine.hpp b/src/engine/engine.hpp index 32afa56..c13245f 100644 --- a/src/engine/engine.hpp +++ b/src/engine/engine.hpp @@ -12,16 +12,24 @@ #include <memory> #include <unordered_map> -class CLIGameEngine - : public ICLIGameEngine, - public AutoWirable<ICLIGameEngine, CLIGameEngine, IGameFactory, ISceneFactory, - IInputHandler, ICursorController, IWindow> +class CLIGameEngine : public ICLIGameEngine, + public AutoWirable< + ICLIGameEngine, + CLIGameEngine, + IGameFactory, + ISceneFactory, + IInputHandler, + ICursorController, + IWindow> { public: - CLIGameEngine(IGameFactory game_factory, ISceneFactory scene_factory, - std::shared_ptr<IInputHandler> input_handler, - std::shared_ptr<ICursorController> cursor_controller, - std::shared_ptr<IWindow> window) noexcept; + CLIGameEngine( + IGameFactory game_factory, + ISceneFactory scene_factory, + std::shared_ptr<IInputHandler> input_handler, + std::shared_ptr<ICursorController> cursor_controller, + std::shared_ptr<IWindow> window + ) noexcept; void start() noexcept override; @@ -34,5 +42,6 @@ private: std::shared_ptr<IWindow> _window; void _configure_input( - const std::unordered_map<char, std::shared_ptr<ICommand>> &input_config) noexcept; + const std::unordered_map<char, std::shared_ptr<ICommand>> &input_config + ) noexcept; }; |