48 return (
image !=
nullptr);
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.
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.