diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-22 17:05:00 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:59 +0200 |
commit | 7de921836587cdc359c2c4b84ed6446ada16c008 (patch) | |
tree | c4ec20b4769817c41ce7d939956da297bf787597 /src/interfaces/game.hpp | |
parent | 723ea6535b4c4e5605e5592137a898d6ffa458c1 (diff) |
refactor: remove window class
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)>; |