From d27f1a89266e141a944f88e9080bdeca95c49da3 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 3 Mar 2022 20:40:29 +0100 Subject: refactor: add game initializer --- src/interfaces/game.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/interfaces/game.hpp') 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; }; -- cgit v1.2.3-18-g5258