added stopSfx() method

svn-id: r12305
This commit is contained in:
Joost Peters 2004-01-10 17:46:26 +00:00
parent 72d54f173e
commit 3589c2f776

View File

@ -59,7 +59,8 @@ public:
void playSfx(uint16 sfx);
void playSfx(const char *base);
void playSong(int16 songNum);
void stopSfx() { _mixer->stopHandle(_sfxHandle); }
bool sfxOn() { return _sfxToggle; }
void sfxToggle(bool val) { _sfxToggle = val; }
void toggleSfx() { _sfxToggle ^= true; }