aboutsummaryrefslogtreecommitdiff
path: root/People.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 /People.h
parentc9f5ac8722190efeb58fda1eec9e6160d5204127 (diff)
implement mementos snapshots
Diffstat (limited to 'People.h')
-rw-r--r--People.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/People.h b/People.h
index 940a6d5..83516c9 100644
--- a/People.h
+++ b/People.h
@@ -22,6 +22,10 @@ public:
void update(bool tick = true);
+public:
+ Memories save();
+ void restore(const Memories &);
+
private:
std::forward_list<Artist *> artists;
size_t artist_count = 0;