aboutsummaryrefslogtreecommitdiff
path: root/Artist.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-13 17:43:36 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-13 17:43:36 +0200
commitfeaf272efad381414c6ee76c0cd4bf929e8087ae (patch)
treecbdf4ffc206eba701ce39871562a60e889a9ccab /Artist.h
parent4343c7cd36a19c03c4885dbf15aaa22fe51b4fe0 (diff)
WIP
Diffstat (limited to 'Artist.h')
-rw-r--r--Artist.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/Artist.h b/Artist.h
index be66230..80d24cb 100644
--- a/Artist.h
+++ b/Artist.h
@@ -7,15 +7,23 @@ class Museum;
class Artist {
public:
- void update(Museum & m);
+ Artist(Museum &, ArtistData data);
+
+public:
+ void update();
private:
- void update_movement(Museum & m);
- void update_edge_collision(Museum & m);
+ void update_movement();
+ void update_edge_collision();
public:
- ArtistData data;
- Color color;
+ ArtistData data = { 0 };
+ Color color = { 0 };
+
+ bool step = false;
+
+private:
+ Museum & museum;
};