ScummVM API documentation
cGameItemType_Painkillers Class Reference
Inheritance diagram for cGameItemType_Painkillers:
cGameItemType

Public Member Functions

 cGameItemType_Painkillers (cInit *apInit)
 
bool OnAction (cInventoryItem *apItem, int alActionNum)
 
- Public Member Functions inherited from cGameItemType
 cGameItemType (cInit *apInit)
 
tWStringVec * GetActions (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)
 

Additional Inherited Members

- Protected Attributes inherited from cGameItemType
cInit * mpInit
 
tWStringVec mvActions
 
tWStringVec mvNonDropActions
 

Member Function Documentation

◆ OnAction()

bool cGameItemType_Painkillers::OnAction ( cInventoryItem *  apItem,
int  alActionNum 
)
virtual

Reimplemented from cGameItemType.


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