aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/game.hpp')
-rw-r--r--src/interfaces/game.hpp4
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