blob: ea8145a7f8bcba3db6d8f26190e47b73caf0a40d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "DI/auto_wirable.hpp"
#include "interfaces/game.hpp"
#include "interfaces/input.hpp"
#include "interfaces/input_configurator.hpp"
#include "interfaces/scene.hpp"
#include <memory>
class Game : public IGame, public AutoWirable<IGame, Game, IInputConfigurator>
{
public:
explicit Game(std::shared_ptr<IInputConfigurator> input_configurator);
void run(IScene &scene, IInputHandler &input_handler) override;
private:
std::shared_ptr<IInputConfigurator> _input_configurator;
};
|