diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-03 20:40:29 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:54 +0200 |
commit | d27f1a89266e141a944f88e9080bdeca95c49da3 (patch) | |
tree | be78081c7b71f335b59057d25bc817bcb1306d36 /src/interfaces/game.hpp | |
parent | b8e33c5aa3417bdf7989bef55cc449f75f806b76 (diff) |
refactor: add game initializer
Diffstat (limited to 'src/interfaces/game.hpp')
-rw-r--r-- | src/interfaces/game.hpp | 5 |
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; }; |