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

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

#include "engine/user/cursor.hpp"

#include <memory>

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

	void run(IScene &scene, IInputHandler &input_handler) override;

private:
	std::shared_ptr<CursorController> _cursor_controller;
};