diff options
Diffstat (limited to 'src/engine/engine.cpp')
-rw-r--r-- | src/engine/engine.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 6050348..d793c65 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -1,10 +1,12 @@ #include "engine.hpp" #include "input_actions.hpp" +#include "strings.hpp" #include "util/function.hpp" #include <cstdlib> +#include <fmt/core.h> #include <utility> CLIGameEngine::CLIGameEngine(IGameFactory game_factory, ISceneFactory scene_factory, @@ -34,6 +36,10 @@ void CLIGameEngine::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()))); + std::atexit(normalize_lambda( [scene, this]() { |