From 9b01fa8ff25eae054815ced5f5371cd82fe0a5fe Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 20 Mar 2022 20:58:16 +0100 Subject: refactor: remove strings header file --- src/game/game.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/game/game.cpp') diff --git a/src/game/game.cpp b/src/game/game.cpp index 055e212..f788d15 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -4,7 +4,6 @@ #include "commands/move_cursor.hpp" #include "commands/quit.hpp" #include "game/cursor_listener.hpp" -#include "strings.hpp" #include #include @@ -29,9 +28,7 @@ void Game::on_start() noexcept _cursor_controller->move_to(center_position); - _scene->write_status(fmt::format(STATUS_BAR_COORDINATES, - fmt::arg("x", center_position.get_x()), - fmt::arg("y", center_position.get_y()))); + cursor_listener->update(center_position); } void Game::on_exit() const noexcept -- cgit v1.2.3-18-g5258