diff options
Diffstat (limited to 'Canvas.cpp')
-rw-r--r-- | Canvas.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -22,7 +22,11 @@ size_t Canvas::pos_to_index(unsigned x, unsigned y) { return index; } -void Canvas::update() { +void Canvas::update(Museum & museum) { +} + +void Canvas::set_data(CanvasData data) { + this->data = data; this->tiles.resize(this->data.rows * this->data.columns); for (size_t i = 0; i < this->tiles.size(); i++) { if (this->tiles[i] != nullptr) continue; |