A tile managed by an ObjectTileStorage. More...
#include <ObjectTileStorage.h>
Public Member Functions | |
ObjectSlot (TileStorage *owner) | |
Creates a new ObjectSlot. | |
virtual | ~ObjectSlot () |
Deletes this ObjectSlot. | |
Public Attributes | |
ptr< Object > | data |
The tile data. |
A tile managed by an ObjectTileStorage.
proland::ObjectTileStorage::ObjectSlot::ObjectSlot | ( | TileStorage * | owner | ) |
Creates a new ObjectSlot.
This constructor does NOT allocate any object.
owner | the TileStorage that manages this tile. |
virtual proland::ObjectTileStorage::ObjectSlot::~ObjectSlot | ( | ) | [virtual] |
Deletes this ObjectSlot.
This deletes the reference to data.
ptr<Object> proland::ObjectTileStorage::ObjectSlot::data |
The tile data.