diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-13 17:43:36 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-13 17:43:36 +0200 |
commit | feaf272efad381414c6ee76c0cd4bf929e8087ae (patch) | |
tree | cbdf4ffc206eba701ce39871562a60e889a9ccab /Artist.h | |
parent | 4343c7cd36a19c03c4885dbf15aaa22fe51b4fe0 (diff) |
WIP
Diffstat (limited to 'Artist.h')
-rw-r--r-- | Artist.h | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -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; }; |