blob: 314466c938ef67ae0bded5cc0b2898c210f102ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <string>
#include "Memento.h"
struct TileData {
unsigned int x = 0;
unsigned int y = 0;
std::string type = "";
};
class TileDataMemento : public Memento {
friend class Canvas;
public:
TileDataMemento(const TileData & data) : data(data) {}
private:
TileData data;
};
|