From 927e065f9829045247be7c0b3296408b6f577c1f Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 12 Jun 2022 13:44:58 +0200 Subject: feat: add reading RLE files --- src/game/game.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/game/game.hpp') 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 generation_tracker, std::shared_ptr status_manager, std::shared_ptr user_input_observer, - std::shared_ptr cell_helper) noexcept; + std::shared_ptr cell_helper, + std::shared_ptr rle_reader) noexcept; void on_start() noexcept override; @@ -76,6 +78,7 @@ private: std::shared_ptr _status_manager; std::shared_ptr _user_input_observer; std::shared_ptr _cell_helper; + std::shared_ptr _rle_reader; Mode _current_mode; -- cgit v1.2.3-18-g5258