aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.hpp
blob: e7d91d6f0bd51d53ce078806d7f1ff536ab78460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "DI/auto_wirable.hpp"
#include "interfaces/game.hpp"
#include "interfaces/scene.hpp"

#include <memory>

class Game : public IGame, public AutoWirable<IGame, Game, IScene>
{
public:
	explicit Game(std::shared_ptr<IScene> scene);

	void run() override;

private:
	std::shared_ptr<IScene> _scene;
};