diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-09-12 18:55:01 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-09-12 18:55:01 (GMT) |
commit | 7dafb815ca404f1e15c9cdf6b26817c941dae4ec (patch) | |
tree | 5f1a523042bd4b9ccb84efce74ab2441dacef8ea /Swift/Controllers/SoundEventController.h | |
parent | 7e157ace6678dd4af7a091ea5cc5fbc3baabe7f7 (diff) | |
download | swift-contrib-7dafb815ca404f1e15c9cdf6b26817c941dae4ec.zip swift-contrib-7dafb815ca404f1e15c9cdf6b26817c941dae4ec.tar.bz2 |
Getting ready for sounds to be turned off.
Diffstat (limited to 'Swift/Controllers/SoundEventController.h')
-rw-r--r-- | Swift/Controllers/SoundEventController.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/Controllers/SoundEventController.h b/Swift/Controllers/SoundEventController.h index 8da057d..9ac6f76 100644 --- a/Swift/Controllers/SoundEventController.h +++ b/Swift/Controllers/SoundEventController.h @@ -9,10 +9,12 @@ namespace Swift { class SoundPlayer; class SoundEventController { public: - SoundEventController(EventController* eventController, SoundPlayer* soundPlayer); + SoundEventController(EventController* eventController, SoundPlayer* soundPlayer, bool playSounds); + void setPlaySounds(bool playSounds); private: void handleEventQueueEventAdded(boost::shared_ptr<MessageEvent> event); EventController* eventController_; SoundPlayer* soundPlayer_; + bool playSounds_; }; } |