aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-20 20:58:16 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:57 +0200
commit9b01fa8ff25eae054815ced5f5371cd82fe0a5fe (patch)
tree91073b9238f94391cc3b957d694abfe54c4e4eb9 /src/game/game.cpp
parent1972939ebde39a3e90a50b021b2322d028f344de (diff)
refactor: remove strings header file
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp5
1 files changed, 1 insertions, 4 deletions
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 <fmt/core.h>
#include <iostream>
@@ -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