aboutsummaryrefslogtreecommitdiff
path: root/Deserializer.h
blob: bdbcde0a3346be4d0d26bf1ffa777ad62c4453a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include "Museum.h"
#include "ArtistData.h"
#include "TileData.h"
#include "CanvasData.h"
#include "Color.h"

class Deserializer {
public:
	Deserializer(Museum & m);

public:
	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);

private:
	Museum & museum;
};