ScummVM API documentation
cGameItemType Class Reference
Inheritance diagram for cGameItemType:
cGameItemType_Battery cGameItemType_Flare cGameItemType_Flashlight cGameItemType_GlowStick cGameItemType_Normal cGameItemType_Note cGameItemType_Notebook cGameItemType_Painkillers cGameItemType_Throw cGameItemType_WeaponMelee

Public Member Functions

 cGameItemType (cInit *apInit)
 
tWStringVecGetActions (bool mbCanBeDropped)
 
virtual bool OnPickUp (cInventoryItem *apItem, bool abInGame)
 
virtual bool OnAction (cInventoryItem *apItem, int alActionNum)
 
virtual void OnUse (cInventoryItem *apItem, iGameEntity *apEntity)
 
virtual tString GetShortCutAction (cInventoryItem *apItem)
 
virtual tWString GetString (cInventoryItem *apItem)
 

Protected Attributes

cInitmpInit
 
tWStringVec mvActions
 
tWStringVec mvNonDropActions
 

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