diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 15:48:14 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 15:48:14 +0200 |
commit | d8289105193707daede1a5b59137f18e20f20aeb (patch) | |
tree | 939908b9c4c6f7aaef8aa61ee2e04be3e85610b6 /MuseumDeserializer.h | |
parent | 76e61d68bbf568ec0d7fc4632e52d4de5496b003 (diff) |
(2/2) rename
Diffstat (limited to 'MuseumDeserializer.h')
-rw-r--r-- | MuseumDeserializer.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/MuseumDeserializer.h b/MuseumDeserializer.h new file mode 100644 index 0000000..7fecf56 --- /dev/null +++ b/MuseumDeserializer.h @@ -0,0 +1,23 @@ +#pragma once + +#include "Museum.h" +#include "ArtistData.h" +#include "TileData.h" +#include "CanvasData.h" +#include "Color.h" + +class MuseumDeserializer { +public: + MuseumDeserializer(Museum & m); + +public: + void add_type(std::string type, Color color, unsigned int weight); + + void set_canvas(CanvasData); + void set_tile(TileData); + void add_artist(ArtistData); + +private: + Museum & museum; +}; + |