aboutsummaryrefslogtreecommitdiff
path: root/People.h
blob: 940a6d5e64df84c253ce820bac9273155a8614ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once

#include <forward_list>
#include <string>

#include "Artist.h"
#include "ArtistData.h"

class Museum;

class People {
public:
	People(Museum &);
	virtual ~People();
	std::string to_string();

public:
	void add_artist(const ArtistData & data);
	void remove_artist(Artist & artist);

	std::forward_list<Artist *> get_artists();

	void update(bool tick = true);

private:
	std::forward_list<Artist *> artists;
	size_t artist_count = 0;
	Museum & museum;
};