From d8289105193707daede1a5b59137f18e20f20aeb Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 18 Oct 2024 15:48:14 +0200 Subject: (2/2) rename --- MuseumDeserializer.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 MuseumDeserializer.h (limited to 'MuseumDeserializer.h') 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; +}; + -- cgit v1.2.3