aboutsummaryrefslogtreecommitdiff
path: root/Canvas.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 17:26:20 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 17:26:20 +0200
commitb31d7a677481b4a09168c43d203bfd6d7badf577 (patch)
tree13550fa7f33d21aea8a7b03981707db2c08fc9a2 /Canvas.h
parentc9f5ac8722190efeb58fda1eec9e6160d5204127 (diff)
implement mementos snapshots
Diffstat (limited to 'Canvas.h')
-rw-r--r--Canvas.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Canvas.h b/Canvas.h
index b602fb2..294b335 100644
--- a/Canvas.h
+++ b/Canvas.h
@@ -28,6 +28,10 @@ public:
void set_data(CanvasData data);
public:
+ Memories save();
+ void restore(const Memories &);
+
+public:
TileColorFactory tile_color;
TileBehaviorFactory tile_behavior;