From fe79577396231f2edb7927f1f61ce814f03851a7 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 27 Feb 2022 17:12:49 +0100 Subject: add basic engine graphics --- src/game/game.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/game/game.hpp') diff --git a/src/game/game.hpp b/src/game/game.hpp index 4c7e5e1..6abb349 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -2,15 +2,17 @@ #include "DI/auto_wirable.hpp" #include "interfaces/game.hpp" -#include "interfaces/vector2.hpp" +#include "interfaces/scene.hpp" -class Game : public IGame, public AutoWirable +#include + +class Game : public IGame, public AutoWirable { public: - explicit Game(IVector2Factory vector2_factory); + explicit Game(const std::shared_ptr &scene); void run() override; private: - IVector2Factory _vector2_factory; + const std::shared_ptr &_scene; }; -- cgit v1.2.3-18-g5258