aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/game.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-03 20:40:29 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:54 +0200
commitd27f1a89266e141a944f88e9080bdeca95c49da3 (patch)
treebe78081c7b71f335b59057d25bc817bcb1306d36 /src/interfaces/game.hpp
parentb8e33c5aa3417bdf7989bef55cc449f75f806b76 (diff)
refactor: add game initializer
Diffstat (limited to 'src/interfaces/game.hpp')
-rw-r--r--src/interfaces/game.hpp5
1 files changed, 4 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;
};