diff options
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/game.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/game.hpp b/src/interfaces/game.hpp index eb13dc3..85c20e5 100644 --- a/src/interfaces/game.hpp +++ b/src/interfaces/game.hpp @@ -3,6 +3,8 @@ #include "interfaces/input.hpp" #include "interfaces/scene.hpp" +#include <memory> + class IGame { public: @@ -10,3 +12,5 @@ public: virtual void run(IScene &scene, IInputHandler &input_handler) = 0; }; + +using IGameFactory = std::shared_ptr<IGame> (*)(); |