aboutsummaryrefslogtreecommitdiff
path: root/ArtistData.h
blob: 1a75842a1699af7f542a22f889bbd904e3afb89e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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;
};