From 2bcf699b9e11ccf848393882257fc3986bd28e45 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 27 Feb 2022 15:24:07 +0100 Subject: add game & vector2 --- src/game/game.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/game/game.hpp (limited to 'src/game/game.hpp') diff --git a/src/game/game.hpp b/src/game/game.hpp new file mode 100644 index 0000000..4c7e5e1 --- /dev/null +++ b/src/game/game.hpp @@ -0,0 +1,16 @@ +#pragma once + +#include "DI/auto_wirable.hpp" +#include "interfaces/game.hpp" +#include "interfaces/vector2.hpp" + +class Game : public IGame, public AutoWirable +{ +public: + explicit Game(IVector2Factory vector2_factory); + + void run() override; + +private: + IVector2Factory _vector2_factory; +}; -- cgit v1.2.3-18-g5258