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

Public Member Functions

 cGameItemType_Normal (cInit *apInit)
 
bool OnAction (cInventoryItem *apItem, int alActionNum)
 
void OnUse (cInventoryItem *apItem, iGameEntity *apEntity)
 
- 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_Normal::OnAction ( cInventoryItem *  apItem,
int  alActionNum 
)
virtual

Reimplemented from cGameItemType.

◆ OnUse()

void cGameItemType_Normal::OnUse ( cInventoryItem *  apItem,
iGameEntity *  apEntity 
)
virtual

Reimplemented from cGameItemType.


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