diff options
Diffstat (limited to 'src/game_state.cpp')
-rw-r--r-- | src/game_state.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game_state.cpp b/src/game_state.cpp index 340bcd3..2a9975e 100644 --- a/src/game_state.cpp +++ b/src/game_state.cpp @@ -50,3 +50,11 @@ GameState::GameState(std::string mapFilename) } } } + +void GameState::logState() +{ + for (auto alien : aliens) + { + std::cout << "Alien (" << alien.x() << ", " << alien.y() << ")" << std::endl; + } +} |