aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp16
1 files changed, 16 insertions, 0 deletions
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<IGame, Game, IVector2Factory>
+{
+public:
+ explicit Game(IVector2Factory vector2_factory);
+
+ void run() override;
+
+private:
+ IVector2Factory _vector2_factory;
+};