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

#include "input_configurator.hpp"

namespace InputActions
{

template <Direction::value_type direction>
auto move_cursor(CursorController cursor_controller)
{
	return [cursor_controller]()
	{
		cursor_controller.move<direction>(1U);
	};
}

} // namespace InputActions