33 typedef shared_ptr< std::vector<uint8_t> >
ImageType;
35 Tile(
const shared_ptr<TileIdentifier>&
id);
46 const shared_ptr<TileIdentifier>
id;
Tile(const shared_ptr< TileIdentifier > &id)
This file is part of alaCarte.
TESTABLE void setImage(const ImageType &image)
Sets the image of this Tile.
TESTABLE bool isRendered() const
Returns if the Tile is already rendered.
A TileIdentifier identifies a Tile.
TESTABLE const shared_ptr< TileIdentifier > & getIdentifier() const
Returns the TileIdentifier of this Tile.
const shared_ptr< TileIdentifier > id
TileIdentifier which identifies this Tile.
TESTABLE const ImageType & getImage() const
Returns the rendered image.
shared_ptr< std::vector< uint8_t > > ImageType
ImageType image
Pointer to a memory block, which contains the rendered Image.