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 /MuseumDeserializer.cpp | |
parent | 64028952ceb17f97ded08f1ab7ec0b06c41e2b87 (diff) |
more refactoring / preparation for pathfinding
Diffstat (limited to 'MuseumDeserializer.cpp')
-rw-r--r-- | MuseumDeserializer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MuseumDeserializer.cpp b/MuseumDeserializer.cpp index fca8d50..19fc1a6 100644 --- a/MuseumDeserializer.cpp +++ b/MuseumDeserializer.cpp @@ -17,6 +17,7 @@ void MuseumDeserializer::set_tile(TileData data) { void MuseumDeserializer::add_type(std::string type, Color color, unsigned int weight) { if (type.length() == 0) return; - TileColorFactory::register_color(type, color); + this->museum.canvas.tile_color.register_color(type, color); + // this->museum.pathfinding.weights.register_weight(type, weight); } |