ScummVM API documentation
LastExpress::Inventory Class Reference
Inheritance diagram for LastExpress::Inventory:
Common::Serializable LastExpress::EventHandler

Classes

struct  InventoryEntry
 

Public Member Functions

 Inventory (LastExpressEngine *engine)
 
void addItem (InventoryItem item)
 
void removeItem (InventoryItem item, ObjectLocation newLocation=kObjectLocationNone)
 
bool hasItem (InventoryItem item)
 
void selectItem (InventoryItem item)
 
void unselectItem ()
 
InventoryItem getSelectedItem ()
 
InventoryEntryget (InventoryItem item)
 
InventoryEntrygetSelectedEntry ()
 
InventoryItem getFirstExaminableItem () const
 
void setLocationAndProcess (InventoryItem item, ObjectLocation location)
 
void show ()
 
void showHourGlass () const
 
void setPortrait (InventoryItem item) const
 
void drawEgg () const
 
void drawBlinkingEgg (uint ticks=1)
 
void handleMouseEvent (const Common::Event &ev)
 
bool isMagnifierInUse ()
 
bool isPortraitHighlighted ()
 
bool isOpened ()
 
bool isEggHighlighted ()
 
void saveLoadWithSerializer (Common::Serializer &s) override
 
void saveSelectedItem (Common::Serializer &s)
 
Common::String toString ()
 
- Public Member Functions inherited from LastExpress::EventHandler
virtual void eventMouse (const Common::Event &ev)
 
virtual void eventTick (const Common::Event &ev)
 

Additional Inherited Members

- Public Types inherited from LastExpress::EventHandler
typedef Common::Functor1< const Common::Event &, void > EventFunction
 

Member Function Documentation

◆ toString()

Common::String LastExpress::Inventory::toString ( )

Convert this object into a string representation.

Returns
A string representation of this object.

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