ScummVM API documentation
Harvester::ItemInteractions Class Reference

Public Member Functions

 ItemInteractions (HarvesterEngine &engine, SceneState &scene, SceneEntities &sceneRuntime, InventorySystem &inventory, const Common::String &pendingRoomChange)
 
const Common::String & getCarriedRoomItemLabel () const
 
const IndexedBitmap & getCarriedRoomItemBitmap () const
 
bool hasCarriedRoomItem () const
 
bool hasSelectedItem () const
 
Common::String getSelectedItemName () const
 
void clearSelectedItem ()
 
void hideCarriedRoomItem ()
 
bool stowCarriedRoomItemToInventory ()
 
Common::Error handleSelectedItemTargetInteraction (const ObjectRecord &target, Interaction &interactionProcessor, bool &needsRedraw)
 
const Entity * findSelectedItemTarget (const Common::Point &point, bool opaquePixels=true)
 
Common::Error handleSelectedItemMiss (Interaction &interactionProcessor, bool &needsRedraw)
 
Common::Error handleRoomItemPickup (const ObjectRecord &object, bool playerPresent, Interaction &interactionProcessor, InteractionCallbacks &callbacks, bool &needsRedraw)
 

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