diff options
Diffstat (limited to 'src/imports/location/tile.h')
-rw-r--r-- | src/imports/location/tile.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/imports/location/tile.h b/src/imports/location/tile.h new file mode 100644 index 00000000..c63360cf --- /dev/null +++ b/src/imports/location/tile.h @@ -0,0 +1,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 |