aboutsummaryrefslogtreecommitdiff
path: root/Canvas.h
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.h
parent64028952ceb17f97ded08f1ab7ec0b06c41e2b87 (diff)
more refactoring / preparation for pathfinding
Diffstat (limited to 'Canvas.h')
-rw-r--r--Canvas.h7
1 files changed, 7 insertions, 0 deletions
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();