aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 13e229e..9fc5237 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -29,6 +29,7 @@ class IGenerationTracker;
class IRLEReader;
class IStatusManager;
class IUserInputObserver;
+
template <typename ElementType>
class IMatrix;
@@ -107,7 +108,7 @@ private:
std::int64_t _generations_per_second = DEFAULT_GENERATIONS_PER_SECOND;
- std::list<Vector2> _living_cell_positions;
+ std::vector<Vector2> _living_cell_positions;
void _on_normal_mode_update() noexcept;
@@ -129,4 +130,6 @@ private:
static void _erase_entire_line() noexcept;
static void _erase_line_from_cursor() noexcept;
+
+ void _process_next_generation() noexcept;
};