From db6edcd473a684420e9a7611b24462df21165c1b Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 24 Apr 2022 17:13:52 +0200 Subject: style: improve function and brace styling --- src/engine/engine.hpp | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'src/engine/engine.hpp') 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 #include -class CLIGameEngine - : public ICLIGameEngine, - public AutoWirable +class CLIGameEngine : public ICLIGameEngine, + public AutoWirable< + ICLIGameEngine, + CLIGameEngine, + IGameFactory, + ISceneFactory, + IInputHandler, + ICursorController, + IWindow> { public: - CLIGameEngine(IGameFactory game_factory, ISceneFactory scene_factory, - std::shared_ptr input_handler, - std::shared_ptr cursor_controller, - std::shared_ptr window) noexcept; + CLIGameEngine( + IGameFactory game_factory, + ISceneFactory scene_factory, + std::shared_ptr input_handler, + std::shared_ptr cursor_controller, + std::shared_ptr window + ) noexcept; void start() noexcept override; @@ -34,5 +42,6 @@ private: std::shared_ptr _window; void _configure_input( - const std::unordered_map> &input_config) noexcept; + const std::unordered_map> &input_config + ) noexcept; }; -- cgit v1.2.3-18-g5258