aboutsummaryrefslogtreecommitdiff
path: root/Artist.h
blob: 91e8caf1b5de74033de9cee510e528e275ab9fd2 (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
31
32
#pragma once

#include "ArtistData.h"
#include "Color.h"

class Museum;

class Artist {
public:
	Artist(Museum &, ArtistData data);

public:
	void update(bool tick = true);

private:
	void update_movement();
	void update_edge_collision();
	void update_path_collision();
	void update_color();

public:
	ArtistData data;
	Color color;

	bool step = false;
	bool colliding = false;

private:
	Museum & museum;

};