diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-23 16:09:47 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-23 16:09:47 +0200 |
commit | 277157b3e06b2deeacbdbc8bf6190de19f88169d (patch) | |
tree | db9c013b67f93d27fa5bb9cf84c7d6dc53f72734 /Canvas.cpp | |
parent | 64028952ceb17f97ded08f1ab7ec0b06c41e2b87 (diff) |
more refactoring / preparation for pathfinding
Diffstat (limited to 'Canvas.cpp')
-rw-r--r-- | Canvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)]; |