Implemented LureEngine::pauseEngineIntern

svn-id: r32238
This commit is contained in:
Paul Gilbert 2008-05-24 01:03:27 +00:00
parent 76c43c94d1
commit e2437d33f8
2 changed files with 11 additions and 0 deletions

View File

@ -154,6 +154,16 @@ int LureEngine::go() {
return 0;
}
void LureEngine::pauseEngineIntern(bool pause) {
Engine::pauseEngineIntern(pause);
if (pause) {
Sound.pause();
} else {
Sound.resume();
}
}
void LureEngine::quitGame() {
_system->quit();
}

View File

@ -69,6 +69,7 @@ public:
virtual int init();
virtual int go();
virtual void pauseEngineIntern(bool pause);
void quitGame();
Disk &disk() { return *_disk; }