ScummVM API documentation
ZVision::ActionInventory Class Reference
Inheritance diagram for ZVision::ActionInventory:
ZVision::ResultAction

Public Member Functions

 ActionInventory (ZVision *engine, int32 slotkey, const Common::String &line)
 
bool execute () override
 
- Public Member Functions inherited from ZVision::ResultAction
 ResultAction (ZVision *engine, int32 slotkey)
 

Additional Inherited Members

- Protected Attributes inherited from ZVision::ResultAction
ZVision_engine
 
ScriptManager_scriptManager
 
int32 _slotKey
 

Member Function Documentation

◆ execute()

bool ZVision::ActionInventory::execute ( )
overridevirtual

This is called by the script system whenever a Puzzle's criteria are found to be true. It should execute any necessary actions and return a value indicating whether the script system should continue to test puzzles. In 99% of cases this will be 'true'.

Parameters
engineA pointer to the base engine so the ResultAction can access all the necessary methods
Returns
Should the script system continue to test any remaining puzzles (true) or immediately break and go on to the next frame (false)

Implements ZVision::ResultAction.


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