blob: 675fc7b5500542ee0236f95ff105020f87ab51f3 (
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
26
27
|
#include "tile.h"
Tile::Tile() {}
Tile::Tile(const TileSpec &spec, const QPixmap &pixmap)
: spec_(spec),
pixmap_(pixmap) {}
void Tile::setTileSpec(const TileSpec &spec)
{
spec_ = spec;
}
TileSpec Tile::tileSpec() const
{
return spec_;
}
void Tile::setPixmap(const QPixmap &pixmap)
{
pixmap_ = pixmap;
}
QPixmap Tile::pixmap() const
{
return pixmap_;
}
|