From 277157b3e06b2deeacbdbc8bf6190de19f88169d Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 23 Oct 2024 16:09:47 +0200 Subject: more refactoring / preparation for pathfinding --- Canvas.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Canvas.h') diff --git a/Canvas.h b/Canvas.h index 03ab00a..6f59c15 100644 --- a/Canvas.h +++ b/Canvas.h @@ -6,6 +6,9 @@ #include "CanvasData.h" #include "Tile.h" +#include "TileBehaviorFactory.h" +#include "TileColorFactory.h" + class Museum; class Canvas { @@ -23,6 +26,10 @@ public: void update(); void set_data(CanvasData data); +public: + TileColorFactory tile_color; + TileBehaviorFactory tile_behavior; + private: void update_steps(); void update_tiles(); -- cgit v1.2.3