1 2 3 4 5 6 7 8 9 10 11 12 13
#pragma once #include "Swift/Controllers/UIEvents/UIEvent.h" namespace Swift { class ToggleSoundsUIEvent : public UIEvent { public: ToggleSoundsUIEvent(bool enable) : enabled_(enable) {}; bool getEnabled() {return enabled_;}; private: bool enabled_; }; }