aboutsummaryrefslogtreecommitdiff
path: root/Canvas.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 16:09:47 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 16:09:47 +0200
commit277157b3e06b2deeacbdbc8bf6190de19f88169d (patch)
treedb9c013b67f93d27fa5bb9cf84c7d6dc53f72734 /Canvas.cpp
parent64028952ceb17f97ded08f1ab7ec0b06c41e2b87 (diff)
more refactoring / preparation for pathfinding
Diffstat (limited to 'Canvas.cpp')
-rw-r--r--Canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Canvas.cpp b/Canvas.cpp
index adfb846..ce51e5c 100644
--- a/Canvas.cpp
+++ b/Canvas.cpp
@@ -7,7 +7,7 @@
using namespace std;
-Canvas::Canvas(Museum & museum) : museum(museum) { }
+Canvas::Canvas(Museum & museum) : museum(museum), tile_behavior(museum), tile_color() { }
Tile & Canvas::get_tile(unsigned x, unsigned y) {
return *this->tiles[this->pos_to_index(x, y)];