diff options
Diffstat (limited to 'src/interfaces/game.hpp')
-rw-r--r-- | src/interfaces/game.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/interfaces/game.hpp b/src/interfaces/game.hpp index e4df51c..a54782a 100644 --- a/src/interfaces/game.hpp +++ b/src/interfaces/game.hpp @@ -3,7 +3,6 @@ #include "interfaces/command.hpp" #include "interfaces/cursor.hpp" #include "interfaces/scene.hpp" -#include "interfaces/window.hpp" #include <yacppdic/factory.hpp> @@ -26,13 +25,6 @@ public: -> std::unordered_map<char, std::shared_ptr<ICommand>> = 0; }; -/* -using IGameFactory = std::unique_ptr<IGame> (*)( - const std::shared_ptr<IWindow> &window, const std::shared_ptr<IScene> &scene, - const std::shared_ptr<ICursorController> &cursor_controller); - */ - 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)>; |