diff options
Diffstat (limited to 'engines/mohawk/riven.h')
-rw-r--r-- | engines/mohawk/riven.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/mohawk/riven.h b/engines/mohawk/riven.h index 608ebddb84..4c4e303fa3 100644 --- a/engines/mohawk/riven.h +++ b/engines/mohawk/riven.h @@ -117,6 +117,8 @@ private: RivenCard *_card; RivenStack *_stack; + bool _gameEnded; + // Variables void initVars(); @@ -144,6 +146,16 @@ public: bool _activatedSLST; void runLoadDialog(); void delay(uint32 ms); + + /** + * Has the game ended, or has the user requested to quit? + */ + bool hasGameEnded() const; + + /** + * End the game gracefully + */ + void setGameEnded(); }; } // End of namespace Mohawk |