#pragma once #include "Museum.h" #include "ArtistData.h" #include "TileData.h" #include "CanvasData.h" #include "Color.h" class Deserializer { public: Deserializer() = default; virtual ~Deserializer(); public: void set_target(Museum * m); void add_type(std::string type, Color color, unsigned int weight); void set_canvas(CanvasData); void add_tile(unsigned int x, unsigned int y, TileData); void add_artist(ArtistData); void finalize(); private: Museum & get_target(); Museum * museum = nullptr; };