#pragma once #include "Memento.h" struct ArtistData { float x = 0.0; float y = 0.0; float vx = 0.0; float vy = 0.0; }; class ArtistDataMemento : public Memento { friend class People; public: ArtistDataMemento(const ArtistData & data) : data(data) {} private: ArtistData data; };