The base class that represents any action that a Puzzle can take. This class is purely virtual.
virtual bool ZVision::ResultAction::execute |
( |
| ) |
|
|
pure virtual |
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
-
engine | A 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)
Implemented in ZVision::ActionTtyText, ZVision::ActionTimer, ZVision::ActionSyncSound, ZVision::ActionStreamVideo, ZVision::ActionStop, ZVision::ActionSetScreen, ZVision::ActionSetPartialScreen, ZVision::ActionRotateTo, ZVision::ActionRestoreGame, ZVision::ActionRandom, ZVision::ActionUnloadAnimation, ZVision::ActionRegion, ZVision::ActionQuit, ZVision::ActionPreferences, ZVision::ActionPreloadAnimation, ZVision::ActionPlayPreloadAnimation, ZVision::ActionPlayAnimation, ZVision::ActionPanTrack, ZVision::ActionMusic, ZVision::ActionMenuBarEnable, ZVision::ActionKill, ZVision::ActionInventory, ZVision::ActionFlushMouseEvents, ZVision::ActionEnableControl, ZVision::ActionDistort, ZVision::ActionDissolve, ZVision::ActionDisplayMessage, ZVision::ActionDisableControl, ZVision::ActionDelayRender, ZVision::ActionCursor, ZVision::ActionCrossfade, ZVision::ActionChangeLocation, ZVision::ActionAttenuate, ZVision::ActionAssign, and ZVision::ActionAdd.