blob: c63360cf94e8163defcb2935196d848a6f1ddc89 (
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
25
|
#ifndef TILE_H
#define TILE_H
#include "tilespec.h"
#include <QPixmap>
class Tile
{
public:
Tile();
Tile(const TileSpec &spec, const QPixmap &pixmap);
void setTileSpec(const TileSpec &spec);
TileSpec tileSpec() const;
void setPixmap(const QPixmap &pixmap);
QPixmap pixmap() const;
private:
TileSpec spec_;
QPixmap pixmap_;
};
#endif
|