ScummVM API documentation
AGDS::Inventory Class Reference

Public Member Functions

 Inventory (AGDSEngine *engine)
 
void load (Common::ReadStream &stream)
 
void save (Common::WriteStream &stream) const
 
bool enabled () const
 
void enable (bool enabled)
 
bool visible () const
 
void visible (bool visible)
 
int add (const Common::String &name)
 
int add (const ObjectPtr &object)
 
bool remove (const Common::String &name)
 
void removeGaps ()
 
bool has (int index) const
 
ObjectPtr get (int index)
 
int find (const Common::String &name) const
 
ObjectPtr find (const Common::Point pos) const
 
int free () const
 
void clear ()
 
const EntriesTypeentries () const
 
uint maxSize () const
 

Static Public Attributes

static const int kMaxSize = 35
 

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