ScummVM API documentation
Illusions::InventoryBag Class Reference

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 ()
 
InventorySlotgetInventorySlot (uint32 objectId)
 
InventorySlotfindClosestSlot (Common::Point putPos, int index)
 

Public Attributes

IllusionsEngine_BBDOU_vm
 
uint32 _sceneId
 
InventorySlots _inventorySlots
 
bool _isActive
 
int _fieldA
 

The documentation for this class was generated from the following file: