aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-23 20:19:55 +0200
committerHampusM <hampus@hampusmat.com>2022-06-23 20:19:55 +0200
commitca3765ccbbcaee691d71e4f995ff639682d7346f (patch)
treee265d9155a33841c0d1c42d1fa6de01a1953cc26 /src/game/game.cpp
parentafa22dc6450a7f2341c432604d5e50735d6830c7 (diff)
refactor: remove printing scene matrix on exit
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp15
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
{