diff options
author | HampusM <hampus@hampusmat.com> | 2022-04-30 16:28:13 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:58 +0200 |
commit | 40d02748924aa7c48b04cf948204d8dacdfbbc74 (patch) | |
tree | 4d07a3703207295799b02cef52618a8f0c820542 /src/interfaces/game.hpp | |
parent | db6edcd473a684420e9a7611b24462df21165c1b (diff) |
refactor: replace DI files with the yacppdic library
Diffstat (limited to 'src/interfaces/game.hpp')
-rw-r--r-- | src/interfaces/game.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/game.hpp b/src/interfaces/game.hpp index 6d247d9..dee2218 100644 --- a/src/interfaces/game.hpp +++ b/src/interfaces/game.hpp @@ -5,7 +5,7 @@ #include "interfaces/scene.hpp" #include "interfaces/window.hpp" -#include "DI/factory.hpp" +#include <yacppdic/factory.hpp> #include <memory> #include <unordered_map> @@ -32,7 +32,7 @@ using IGameFactory = std::unique_ptr<IGame> (*)( const std::shared_ptr<ICursorController> &cursor_controller); */ -using IGameFactory = Factory<std::unique_ptr<IGame>( +using IGameFactory = yacppdic::Factory<std::unique_ptr<IGame>( const std::shared_ptr<IWindow> &window, const std::shared_ptr<IScene> &scene, const std::shared_ptr<ICursorController> &cursor_controller |