summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/SoundEventController.h')
-rw-r--r--Swift/Controllers/SoundEventController.h4
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_;
};
}