diff options
author | HampusM <hampus@hampusmat.com> | 2022-07-01 16:27:15 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-07-01 16:27:15 +0200 |
commit | 0fca054fdc11dba086541e2d5a48f6f1406925dd (patch) | |
tree | bbb7e693c7c71122c0c12970a659d39081a544fd /src/game/game.cpp | |
parent | 7307815e99a79dac42f2a9c06b0fe6171ea11ba0 (diff) |
refactor: clarify cell helper method names
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r-- | src/game/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp index 86b6eac..c1bb162 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -618,12 +618,12 @@ void Game::_process_next_generation() noexcept ranges::views::filter( [this](const Vector2 &cell_pos) { - return _cell_helper->is_cell_dying(cell_pos); + return _cell_helper->compute_is_cell_dying(cell_pos); }) | ranges::to<std::vector>(); auto birth_cell_positions = - _cell_helper->get_birth_cell_positions(_living_cell_positions); + _cell_helper->compute_birth_cell_positions(_living_cell_positions); auto matrix = _scene->get_matrix(); |