aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.cpp
blob: 0773f2c816d4215131eb22dc63df87865cbe3ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "game.hpp"

#include <utility>

Game::Game(std::shared_ptr<IInputConfigurator> input_configurator)
	: _input_configurator(std::move(input_configurator))
{
}

void Game::run(IScene & /*scene*/, IInputHandler &input_handler)
{
	_input_configurator->configure(input_handler);
	input_handler.listen();
}