diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-23 20:19:55 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-23 20:19:55 +0200 |
commit | ca3765ccbbcaee691d71e4f995ff639682d7346f (patch) | |
tree | e265d9155a33841c0d1c42d1fa6de01a1953cc26 /src/game/game.cpp | |
parent | afa22dc6450a7f2341c432604d5e50735d6830c7 (diff) |
refactor: remove printing scene matrix on exit
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r-- | src/game/game.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp index 055fcd6..2c00b4b 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -213,20 +213,7 @@ void Game::on_update() noexcept _on_normal_mode_update(); } -void Game::on_exit() const noexcept -{ - for (auto row : *_scene->get_matrix()) - { - for (auto &col : row) - { - fmt::print("{}", col); - } - - fmt::print("\n"); - } - - std::cout.flush(); -} +void Game::on_exit() const noexcept {} void Game::_on_normal_mode_update() noexcept { |