diff options
Diffstat (limited to 'ArtistData.h')
-rw-r--r-- | ArtistData.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ArtistData.h b/ArtistData.h index 1c3c88c..1a75842 100644 --- a/ArtistData.h +++ b/ArtistData.h @@ -1,5 +1,7 @@ #pragma once +#include "Memento.h" + struct ArtistData { float x = 0.0; float y = 0.0; @@ -7,3 +9,12 @@ struct ArtistData { float vy = 0.0; }; +class ArtistDataMemento : public Memento { + friend class People; + +public: + ArtistDataMemento(const ArtistData & data) : data(data) {} +private: + ArtistData data; +}; + |