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

Public Member Functions

 ActionQuit (ZVision *engine, int32 slotkey)
 
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::ActionQuit::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: