aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/graphics/scene.cpp')
-rw-r--r--src/engine/graphics/scene.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/engine/graphics/scene.cpp b/src/engine/graphics/scene.cpp
index e0f4da6..e4bdb6e 100644
--- a/src/engine/graphics/scene.cpp
+++ b/src/engine/graphics/scene.cpp
@@ -9,12 +9,8 @@
#include <iostream>
#include <sys/ioctl.h>
-Scene::Scene(
- IMatrixFactory<MatrixElement> matrix_factory,
- std::shared_ptr<ICursorController> cursor_controller) noexcept
- : _matrix(matrix_factory(size())),
- _cursor_controller(std::move(cursor_controller)),
- _is_shown(false)
+Scene::Scene(const IMatrixFactory<MatrixElement> &matrix_factory) noexcept
+ : _matrix(matrix_factory(size())), _is_shown(false)
{
_matrix->fill(' ');
}