Public Types | |
typedef Common::Array< InventorySlot * > | InventorySlots |
typedef InventorySlots::iterator | InventorySlotsIterator |
Public Member Functions | |
InventoryBag (IllusionsEngine_BBDOU *vm, uint32 sceneId) | |
void | registerInventorySlot (uint32 namedPointId) |
bool | addInventoryItem (InventoryItem *inventoryItem, InventorySlot *inventorySlot) |
void | removeInventoryItem (InventoryItem *inventoryItem) |
bool | hasInventoryItem (uint32 objectId) |
void | buildItems () |
void | clear () |
InventorySlot * | getInventorySlot (uint32 objectId) |
InventorySlot * | findClosestSlot (Common::Point putPos, int index) |
Public Attributes | |
IllusionsEngine_BBDOU * | _vm |
uint32 | _sceneId |
InventorySlots | _inventorySlots |
bool | _isActive |
int | _fieldA |