ScummVM API documentation
Parallaction::Inventory Class Reference

Public Member Functions

 Inventory (int maxItems, InventoryItem *verbs)
 
ItemPosition addItem (ItemName name, uint32 value)
 
ItemPosition addItem (ItemName item)
 
void removeItem (ItemName name)
 
void clear (bool keepVerbs=true)
 
const InventoryItemgetItem (ItemPosition pos) const
 
ItemName getItemName (ItemPosition pos) const
 
ItemPosition findItem (ItemName name) const
 
int16 getNumItems () const
 

Protected Attributes

uint16 _numVerbs
 
InventoryItem_items
 
uint16 _numItems
 
int _maxItems
 

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