From b31d7a677481b4a09168c43d203bfd6d7badf577 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 25 Oct 2024 17:26:20 +0200 Subject: implement mementos snapshots --- Canvas.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Canvas.h') diff --git a/Canvas.h b/Canvas.h index b602fb2..294b335 100644 --- a/Canvas.h +++ b/Canvas.h @@ -27,6 +27,10 @@ public: void update(); void set_data(CanvasData data); +public: + Memories save(); + void restore(const Memories &); + public: TileColorFactory tile_color; TileBehaviorFactory tile_behavior; -- cgit v1.2.3