From 87f55120f96d0f4f80b497dc9006d89df2dda125 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 2 Jun 2022 12:17:23 +0200 Subject: refactor: have cursor controller inverting input positions --- src/engine/engine.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/engine/engine.cpp') diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index c7605b5..4775fe4 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -24,6 +24,8 @@ void CLIGameEngine::start() noexcept scene->enter(); + _cursor_controller->set_bounds(scene->size()); + auto game = _game_factory(scene, _cursor_controller, _user_input_observer); game->on_start(); -- cgit v1.2.3-18-g5258