diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-12 13:44:58 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:57:01 +0200 |
commit | 927e065f9829045247be7c0b3296408b6f577c1f (patch) | |
tree | 7da3d9cd5aa4070414a8708a582f6c3ab3e1e708 /src/game/game.hpp | |
parent | eb66598c326862fd9dfc1899be4eac93f81a8023 (diff) |
feat: add reading RLE files
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 4d83fe5..abee6ec 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -1,5 +1,6 @@ #pragma once +#include "interfaces/RLE_reader.hpp" #include "interfaces/cell_helper.hpp" #include "interfaces/cursor.hpp" #include "interfaces/game.hpp" @@ -59,7 +60,8 @@ public: std::shared_ptr<IGenerationTracker> generation_tracker, std::shared_ptr<IStatusManager> status_manager, std::shared_ptr<IUserInputObserver> user_input_observer, - std::shared_ptr<ICellHelper> cell_helper) noexcept; + std::shared_ptr<ICellHelper> cell_helper, + std::shared_ptr<IRLEReader> rle_reader) noexcept; void on_start() noexcept override; @@ -76,6 +78,7 @@ private: std::shared_ptr<IStatusManager> _status_manager; std::shared_ptr<IUserInputObserver> _user_input_observer; std::shared_ptr<ICellHelper> _cell_helper; + std::shared_ptr<IRLEReader> _rle_reader; Mode _current_mode; |