aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/game.hpp5
-rw-r--r--src/interfaces/game_initializer.hpp9
2 files changed, 13 insertions, 1 deletions
diff --git a/src/interfaces/game.hpp b/src/interfaces/game.hpp
index 114f019..eb13dc3 100644
--- a/src/interfaces/game.hpp
+++ b/src/interfaces/game.hpp
@@ -1,9 +1,12 @@
#pragma once
+#include "interfaces/input.hpp"
+#include "interfaces/scene.hpp"
+
class IGame
{
public:
virtual ~IGame() = default;
- virtual void run() = 0;
+ virtual void run(IScene &scene, IInputHandler &input_handler) = 0;
};
diff --git a/src/interfaces/game_initializer.hpp b/src/interfaces/game_initializer.hpp
new file mode 100644
index 0000000..5dea2e9
--- /dev/null
+++ b/src/interfaces/game_initializer.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "interfaces/game.hpp"
+
+class IGameInitializer
+{
+public:
+ virtual void initialize() = 0;
+};